Unlike MacOS and Linux, Windows is less fortunate to people who prefer to fetch core OpenGL symbols via wglGetProcAddress.
Until we merge piglit's dispatch in one shape or the other, we'll need to manually pick/set the correct function that is used for each function. Signed-off-by: Emil Velikov <[email protected]> --- src/utils/wflinfo.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/utils/wflinfo.c b/src/utils/wflinfo.c index 9486361..3508cc6 100644 --- a/src/utils/wflinfo.c +++ b/src/utils/wflinfo.c @@ -1025,15 +1025,15 @@ main(int argc, char **argv) waffle_enum_to_string(opts.context_api)); } - glGetError = waffle_get_proc_address("glGetError"); + glGetError = waffle_dl_sym(opts.dl, "glGetError"); if (!glGetError) error_get_gl_symbol("glGetError"); - glGetIntegerv = waffle_get_proc_address("glGetIntegerv"); + glGetIntegerv = waffle_dl_sym(opts.dl, "glGetIntegerv"); if (!glGetIntegerv) error_get_gl_symbol("glGetIntegerv"); - glGetString = waffle_get_proc_address("glGetString"); + glGetString = waffle_dl_sym(opts.dl, "glGetString"); if (!glGetString) error_get_gl_symbol("glGetString"); -- 2.0.0 _______________________________________________ waffle mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/waffle

