summaryrefslogtreecommitdiffstats
path: root/src/glx/glxextensions.c
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2015-07-21 11:43:42 -0400
committerAdam Jackson <ajax@redhat.com>2015-07-31 12:32:16 -0400
commitb15aba940a3b6fc7c9bebc692968e7e9b72b9f29 (patch)
treec4533ecd020a20eec0b169d29d20aaf0dcde3277 /src/glx/glxextensions.c
parent30509788641a413742098f21a4ee0087b1f86e18 (diff)
downloadexternal_mesa3d-b15aba940a3b6fc7c9bebc692968e7e9b72b9f29.zip
external_mesa3d-b15aba940a3b6fc7c9bebc692968e7e9b72b9f29.tar.gz
external_mesa3d-b15aba940a3b6fc7c9bebc692968e7e9b72b9f29.tar.bz2
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>
Diffstat (limited to 'src/glx/glxextensions.c')
-rw-r--r--src/glx/glxextensions.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glx/glxextensions.c b/src/glx/glxextensions.c
index cb8cd66..3b29aef 100644
--- a/src/glx/glxextensions.c
+++ b/src/glx/glxextensions.c
@@ -241,6 +241,7 @@ static const struct extension_info known_gl_extensions[] = {
{ GL(EXT_texture_env_combine), VER(1,3), Y, N, N, N },
{ GL(EXT_texture_env_dot3), VER(0,0), Y, N, N, N },
{ GL(EXT_texture_filter_anisotropic), VER(0,0), Y, N, N, N },
+ { GL(EXT_texture_integer), VER(0,0), Y, N, N, N },
{ GL(EXT_texture_lod), VER(1,2), Y, N, N, N },
{ GL(EXT_texture_lod_bias), VER(1,4), Y, N, N, N },
{ GL(EXT_texture_mirror_clamp), VER(0,0), Y, N, N, N },