Matteo Bruni : opengl32: Move a TRACE to the proper place.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Mar 2 11:26:09 CST 2016


Module: wine
Branch: master
Commit: 5c77426d7fdf53d77cde517d34f2f8230d3332ca
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=5c77426d7fdf53d77cde517d34f2f8230d3332ca

Author: Matteo Bruni <mbruni at codeweavers.com>
Date:   Wed Mar  2 00:50:05 2016 +0100

opengl32: Move a TRACE to the proper place.

Signed-off-by: Matteo Bruni <mbruni at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 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;




More information about the wine-cvs mailing list