[Mesa-dev] [PATCH] mesa: Fix format matching checks for GL_INTENSITY* internalformats.

Brian Paul brianp at vmware.com
Mon Mar 24 07:50:20 PDT 2014


On 03/23/2014 03:07 AM, Chris Forbes wrote:
> GL_INTENSITY has never been valid as a pixel format -- to get the memcpy
> pack/unpack paths, the app needs to specify GL_RED as the pixel format
> (or GL_RED_INTEGER for the integer formats).
>
> Signed-off-by: Chris Forbes <chrisf at ijw.co.nz>
> ---
>   src/mesa/main/formats.c | 20 ++++++++++++--------
>   1 file changed, 12 insertions(+), 8 deletions(-)
>


Reviewed-by: Brian Paul <brianp at vmware.com>



More information about the mesa-dev mailing list