Re: [PATCH 07/15] glamor: Unifdef the cache format indices.

2014-02-07 Thread Keith Packard
Eric Anholt e...@anholt.net writes: We only ask for GL_RGB on desktop GL as far as I can see, but now if GLES2 did happen to ask for GL_RGB it would return a cache index instead of -1. Signed-off-by: Eric Anholt e...@anholt.net Reviewed-by: Keith Packard kei...@keithp.com --

[PATCH 07/15] glamor: Unifdef the cache format indices.

2014-02-03 Thread Eric Anholt
We only ask for GL_RGB on desktop GL as far as I can see, but now if GLES2 did happen to ask for GL_RGB it would return a cache index instead of -1. Signed-off-by: Eric Anholt e...@anholt.net --- glamor/glamor_priv.h | 4 glamor/glamor_utils.h | 18 ++ 2 files changed, 2