From 5c77426d7fdf53d77cde517d34f2f8230d3332ca Mon Sep 17 00:00:00 2001 From: Matteo Bruni Date: Wed, 2 Mar 2016 00:50:05 +0100 Subject: [PATCH] opengl32: Move a TRACE to the proper place. Signed-off-by: Matteo Bruni Signed-off-by: Alexandre Julliard --- dlls/opengl32/wgl.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dlls/opengl32/wgl.c b/dlls/opengl32/wgl.c index f3f78efc769..f4601dd3bb5 100644 --- a/dlls/opengl32/wgl.c +++ b/dlls/opengl32/wgl.c @@ -1769,6 +1769,9 @@ static GLubyte *filter_extensions_list(const char *extensions, const char *disab p = str = HeapAlloc(GetProcessHeap(), 0, strlen(extensions) + 2); if (!str) return NULL; + + TRACE( "GL_EXTENSIONS:\n" ); + for (;;) { while (*extensions == ' ') @@ -1817,6 +1820,9 @@ static GLuint *filter_extensions_index(const char *disabled) disabled_exts = HeapAlloc(GetProcessHeap(), 0, disabled_size * sizeof(*disabled_exts)); if (!disabled_exts) return NULL; + + TRACE( "GL_EXTENSIONS:\n" ); + for (j = 0; j < extensions_count; ++j) { gl_ext = (const char *)funcs->ext.p_glGetStringi(GL_EXTENSIONS, j); @@ -1863,8 +1869,6 @@ static BOOL filter_extensions(const char *extensions, GLubyte **exts_list, GLuin { static const char *disabled; - TRACE( "GL_EXTENSIONS:\n" ); - if (!disabled) { HKEY hkey;