summaryrefslogtreecommitdiff
path: root/tests/glx/glx-multithread.c
diff options
context:
space:
mode:
authorChad Versace <chad.versace@linux.intel.com>2012-11-13 15:51:09 -0800
committerChad Versace <chad.versace@linux.intel.com>2012-11-14 08:14:24 -0800
commit24a6cd03c533a800e52bb28a58c0cf835dcc951b (patch)
treed7390956ebec9726e57d84ad15a613487e8075a0 /tests/glx/glx-multithread.c
parent1bd872a1347bc7ad9a1042c379bd0d0dfe9ace5c (diff)
util: Kill macro glewInit
No test actually called glewInit(), because piglit-dispatch #define'd it to piglit_dispatch_default_init(). This patch removes the macro and replaces each call to glewInit() with piglit_dispatch_default_init(). Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Signed-off-by: Chad Versace <chad.versace@linux.intel.com>
Diffstat (limited to 'tests/glx/glx-multithread.c')
-rw-r--r--tests/glx/glx-multithread.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/glx/glx-multithread.c b/tests/glx/glx-multithread.c
index ca1950599..10095f376 100644
--- a/tests/glx/glx-multithread.c
+++ b/tests/glx/glx-multithread.c
@@ -79,7 +79,7 @@ draw(Display *dpy)
ctx = piglit_get_glx_context(dpy, visinfo);
glXMakeCurrent(dpy, win, ctx);
- glewInit();
+ piglit_dispatch_default_init();
/* Clear background to gray */
glClearColor(0.5, 0.5, 0.5, 1.0);