Adam Jackson writes:
> On Mon, 2018-04-02 at 14:52 -0400, Adam Jackson wrote:
>
>> @@ -1737,6 +1740,9 @@ __glXDisp_BindTexImageEXT(__GLXclientState * cl,
>> GLbyte * pc)
>>DixReadAccess, , ))
>> return error;
>>
>> +if (pGlxDraw->format
On Mon, 2018-04-02 at 14:52 -0400, Adam Jackson wrote:
> @@ -1737,6 +1740,9 @@ __glXDisp_BindTexImageEXT(__GLXclientState * cl, GLbyte
> * pc)
>DixReadAccess, , ))
> return error;
>
> +if (pGlxDraw->format == GLX_TEXTURE_FORMAT_NONE_EXT)
> +
Initialize it correctly to GLX_TEXTURE_FORMAT_NONE_EXT, and report it in
GLXGetDrawableAttributes. Note that it and TEXTURE_TARGET are only
meaningful attributes for GLXPixmaps.
Signed-off-by: Adam Jackson
---
glx/glxcmds.c | 17 +
1 file changed, 13