opengl32: Move a TRACE to the proper place.

Signed-off-by: Matteo Bruni <mbruni@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Matteo Bruni 2016-03-02 00:50:05 +01:00 committed by Alexandre Julliard
parent 6c637ab9c6
commit 5c77426d7f
1 changed files with 6 additions and 2 deletions

View File

@ -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;