Commit 47f91a67 authored by Jose Fonseca's avatar Jose Fonseca
Browse files

framework: Use WGL by default on Windows.



Like done with GLX on Linux.
Reviewed-by: Brian Paul's avatarBrian Paul <brianp@vmware.com>
Reviewed-by: Emil Velikov's avatarEmil Velikov <emil.l.velikov@gmail.com>
parent f18b947d
......@@ -60,8 +60,10 @@ piglit_wfl_framework_choose_platform(const struct piglit_gl_test_config *test_co
return WAFFLE_PLATFORM_X11_EGL;
}
#endif
#ifdef PIGLIT_HAS_GLX
#if defined(PIGLIT_HAS_GLX)
return WAFFLE_PLATFORM_GLX;
#elif defined(PIGLIT_HAS_WGL)
return WAFFLE_PLATFORM_WGL;
#else
fprintf(stderr, "environment var PIGLIT_PLATFORM must be set "
"when piglit is built without GLX support\n");
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment