[Mesa-stable] [PATCH 1/5] r100: Don't advertise OpenGL ES 1.1
Ian Romanick
idr at freedesktop.org
Wed May 31 00:40:26 UTC 2017
From: Ian Romanick <ian.d.romanick at intel.com>
EXT_point_parameters is required, but it is not supported by radeon.
Fixes piglit's egl-create-context-verify-gl-flavor test.
Signed-off-by: Ian Romanick <ian.d.romanick at intel.com>
Cc: mesa-stable at lists.freedesktop.org
---
src/mesa/drivers/dri/radeon/radeon_screen.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/mesa/drivers/dri/radeon/radeon_screen.c b/src/mesa/drivers/dri/radeon/radeon_screen.c
index 79e3889..aeb2d02 100644
--- a/src/mesa/drivers/dri/radeon/radeon_screen.c
+++ b/src/mesa/drivers/dri/radeon/radeon_screen.c
@@ -782,7 +782,11 @@ __DRIconfig **radeonInitScreen2(__DRIscreen *psp)
__DRIconfig **configs = NULL;
psp->max_gl_compat_version = 13;
+#if defined(RADEON_R200)
psp->max_gl_es1_version = 11;
+#else
+ psp->max_gl_es1_version = 10;
+#endif
if (!radeonInitDriver(psp)) {
return NULL;
--
2.9.4
More information about the mesa-stable
mailing list