[PATCH 6/6] opengl32: Move a TRACE to the proper place.

Matteo Bruni mbruni at codeweavers.com
Tue Mar 1 17:50:05 CST 2016


Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
---
 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 f3f78ef..f4601dd 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;
-- 
2.4.10




More information about the wine-patches mailing list