From: José Fonseca <[email protected]>

https://www.opengl.org/sdk/docs/man2/xhtml/glXChooseFBConfig.xml states
that

  "GLX_DOUBLEBUFFER Must be followed by True or False."

No idea how this ever passed given the buffer overflow that ensued.
---
 tests/glx/glx-close-display.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/glx/glx-close-display.c b/tests/glx/glx-close-display.c
index 7a2c71f..946f1f3 100644
--- a/tests/glx/glx-close-display.c
+++ b/tests/glx/glx-close-display.c
@@ -48,7 +48,7 @@ isDirectRendering(void)
        int attribList[] = {
                GLX_DRAWABLE_TYPE, GLX_USE_GL,
                GLX_RENDER_TYPE, GLX_USE_GL,
-               GLX_DOUBLEBUFFER,
+               GLX_DOUBLEBUFFER, True,
                0
        };
        int nitems = 0;
-- 
2.1.1

_______________________________________________
Piglit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to