Commit 5c77426d authored by Matteo Bruni's avatar Matteo Bruni Committed by Alexandre Julliard

opengl32: Move a TRACE to the proper place.

parent 6c637ab9
...@@ -1769,6 +1769,9 @@ static GLubyte *filter_extensions_list(const char *extensions, const char *disab ...@@ -1769,6 +1769,9 @@ static GLubyte *filter_extensions_list(const char *extensions, const char *disab
p = str = HeapAlloc(GetProcessHeap(), 0, strlen(extensions) + 2); p = str = HeapAlloc(GetProcessHeap(), 0, strlen(extensions) + 2);
if (!str) if (!str)
return NULL; return NULL;
TRACE( "GL_EXTENSIONS:\n" );
for (;;) for (;;)
{ {
while (*extensions == ' ') while (*extensions == ' ')
...@@ -1817,6 +1820,9 @@ static GLuint *filter_extensions_index(const char *disabled) ...@@ -1817,6 +1820,9 @@ static GLuint *filter_extensions_index(const char *disabled)
disabled_exts = HeapAlloc(GetProcessHeap(), 0, disabled_size * sizeof(*disabled_exts)); disabled_exts = HeapAlloc(GetProcessHeap(), 0, disabled_size * sizeof(*disabled_exts));
if (!disabled_exts) if (!disabled_exts)
return NULL; return NULL;
TRACE( "GL_EXTENSIONS:\n" );
for (j = 0; j < extensions_count; ++j) for (j = 0; j < extensions_count; ++j)
{ {
gl_ext = (const char *)funcs->ext.p_glGetStringi(GL_EXTENSIONS, 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 ...@@ -1863,8 +1869,6 @@ static BOOL filter_extensions(const char *extensions, GLubyte **exts_list, GLuin
{ {
static const char *disabled; static const char *disabled;
TRACE( "GL_EXTENSIONS:\n" );
if (!disabled) if (!disabled)
{ {
HKEY hkey; HKEY hkey;
......
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