glx/dri3: Fix passing renderType into glXCreateContext
authorAdam Jackson <ajax@redhat.com>
Thu, 9 Nov 2017 21:57:31 +0000 (16:57 -0500)
committerAdam Jackson <ajax@redhat.com>
Mon, 13 Nov 2017 15:40:30 +0000 (10:40 -0500)
commit257edb5b9aedc9fc5d5c13eb2f48a0c11d15456f
tree8a78df14170686d9a4e7368b4030ba347bb3a272
parent033cfb17db85b38bc012d74f30f6c92cddf85216
glx/dri3: Fix passing renderType into glXCreateContext

Without this, trying to create a GLX_RGBA_FLOAT_TYPE_ARB context would
fail, because GLX_RGBA_TYPE would be a mismatch with the fbconfig.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Tapani Pälli <tapani.palli@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
Signed-off-by: Adam Jackson <ajax@redhat.com>
src/glx/dri3_glx.c