[PATCH xserver 10/12] glamor_egl: Drop warning about indirect GLX and GLES2.

Eric Anholt eric at anholt.net
Tue May 16 18:37:21 UTC 2017


Indirect GLX uses its own context and doesn't care what glamor is
using.

Signed-off-by: Eric Anholt <eric at anholt.net>
---
 glamor/glamor_egl.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/glamor/glamor_egl.c b/glamor/glamor_egl.c
index 6bc9b5383f08..a82c1f790997 100644
--- a/glamor/glamor_egl.c
+++ b/glamor/glamor_egl.c
@@ -746,12 +746,6 @@ glamor_egl_init(ScrnInfoPtr scrn, int fd)
 
     glamor_egl->saved_free_screen = scrn->FreeScreen;
     scrn->FreeScreen = glamor_egl_free_screen;
-#ifdef GLAMOR_GLES2
-    xf86DrvMsg(scrn->scrnIndex, X_INFO, "Using GLES2.\n");
-    xf86DrvMsg(scrn->scrnIndex, X_WARNING,
-               "Glamor is using GLES2 but GLX needs GL. "
-               "Indirect GLX may not work correctly.\n");
-#endif
     return TRUE;
 
 error:
-- 
2.11.0



More information about the xorg-devel mailing list