glx: Fix image size computation for EXT_texture_integer (v2)
authorAdam Jackson <ajax@redhat.com>
Tue, 21 Jul 2015 15:43:42 +0000 (11:43 -0400)
committerAdam Jackson <ajax@redhat.com>
Fri, 31 Jul 2015 16:32:16 +0000 (12:32 -0400)
commitb15aba940a3b6fc7c9bebc692968e7e9b72b9f29
treec4533ecd020a20eec0b169d29d20aaf0dcde3277
parent30509788641a413742098f21a4ee0087b1f86e18
glx: Fix image size computation for EXT_texture_integer (v2)

Without this this extension basically can't work in indirect contexts,
TexImage2D will compute the image size as 0 and we'll send no image data
to the server.

v2: Add EXT_texture_integer to the client extension list too (Ian)

Reviewed-by: Eric Anholt <eric@anholt.net>
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/glx/compsize.c
src/glx/glxextensions.c