wgl: Fix a typo in the trace code.

This commit is contained in:
Roderick Colenbrander 2007-08-19 10:55:09 +02:00 committed by Alexandre Julliard
parent 3c609c11e7
commit d5c0888bba
1 changed files with 1 additions and 1 deletions

View File

@ -1230,7 +1230,7 @@ int X11DRV_ChoosePixelFormat(X11DRV_PDEVICE *physDev,
}
else {
ret = bestFormat+1; /* the return value should be a 1-based index */
TRACE("Successfully found a matching mode, returning index: %d %x\n", ret, WineGLPixelFormatList[bestFormat-1].fmt_id);
TRACE("Successfully found a matching mode, returning index: %d %x\n", ret, WineGLPixelFormatList[bestFormat].fmt_id);
}
wine_tsx11_unlock();