summaryrefslogtreecommitdiff
path: root/tests/glx/glx-copy-sub-buffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'tests/glx/glx-copy-sub-buffer.c')
-rw-r--r--tests/glx/glx-copy-sub-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/glx/glx-copy-sub-buffer.c b/tests/glx/glx-copy-sub-buffer.c
index 38b4b5981..a991df5ce 100644
--- a/tests/glx/glx-copy-sub-buffer.c
+++ b/tests/glx/glx-copy-sub-buffer.c
@@ -52,7 +52,7 @@ draw(Display *dpy)
ctx = piglit_get_glx_context(dpy, visinfo);
glXMakeCurrent(dpy, win_one, ctx);
- piglit_dispatch_default_init();
+ piglit_dispatch_default_init(PIGLIT_DISPATCH_GL);
glClearColor(1.0, 0.0, 0.0, 0.0);
glClear(GL_COLOR_BUFFER_BIT);