opengl32: Use the +opengl debug channel everywhere.

This commit is contained in:
Rémi Bernon 2022-11-18 09:29:01 +01:00 committed by Alexandre Julliard
parent 7443db1ce9
commit 93dcfef00b
4 changed files with 11 additions and 10 deletions

View file

@ -1142,7 +1142,7 @@ print OUT "#include \"unix_private.h\"\n\n";
print OUT "#include \"wine/debug.h\"\n\n";
print OUT "#ifdef _WIN64\n";
print OUT "WINE_DEFAULT_DEBUG_CHANNEL(wgl);\n";
print OUT "WINE_DEFAULT_DEBUG_CHANNEL(opengl);\n";
print OUT "#endif\n\n";
print OUT "extern NTSTATUS thread_attach( void *args ) DECLSPEC_HIDDEN;\n";

View file

@ -19,7 +19,7 @@
#include "wine/debug.h"
#ifdef _WIN64
WINE_DEFAULT_DEBUG_CHANNEL(wgl);
WINE_DEFAULT_DEBUG_CHANNEL(opengl);
#endif
extern NTSTATUS thread_attach( void *args ) DECLSPEC_HIDDEN;

View file

@ -41,7 +41,7 @@
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(wgl);
WINE_DEFAULT_DEBUG_CHANNEL(opengl);
static pthread_mutex_t wgl_lock = PTHREAD_MUTEX_INITIALIZER;

View file

@ -36,7 +36,7 @@
#include "wine/glu.h"
#include "wine/debug.h"
WINE_DEFAULT_DEBUG_CHANNEL(wgl);
WINE_DEFAULT_DEBUG_CHANNEL(opengl);
WINE_DECLARE_DEBUG_CHANNEL(fps);
unixlib_handle_t unixlib_handle = 0;
@ -120,11 +120,11 @@ INT WINAPI wglChoosePixelFormat(HDC hdc, const PIXELFORMATDESCRIPTOR* ppfd)
int i, count, best_format;
int bestDBuffer = -1, bestStereo = -1;
TRACE_(wgl)( "%p %p: size %u version %u flags %lu type %u color %u %u,%u,%u,%u "
"accum %u depth %u stencil %u aux %u\n",
hdc, ppfd, ppfd->nSize, ppfd->nVersion, ppfd->dwFlags, ppfd->iPixelType,
ppfd->cColorBits, ppfd->cRedBits, ppfd->cGreenBits, ppfd->cBlueBits, ppfd->cAlphaBits,
ppfd->cAccumBits, ppfd->cDepthBits, ppfd->cStencilBits, ppfd->cAuxBuffers );
TRACE( "%p %p: size %u version %u flags %lu type %u color %u %u,%u,%u,%u "
"accum %u depth %u stencil %u aux %u\n",
hdc, ppfd, ppfd->nSize, ppfd->nVersion, ppfd->dwFlags, ppfd->iPixelType,
ppfd->cColorBits, ppfd->cRedBits, ppfd->cGreenBits, ppfd->cBlueBits, ppfd->cAlphaBits,
ppfd->cAccumBits, ppfd->cDepthBits, ppfd->cStencilBits, ppfd->cAuxBuffers );
count = wglDescribePixelFormat( hdc, 0, 0, NULL );
if (!count) return 0;
@ -486,7 +486,8 @@ static BOOL wglUseFontBitmaps_common( HDC hdc, DWORD first, DWORD count, DWORD l
if (!ret) break;
}
if (TRACE_ON(wgl)) {
if (TRACE_ON(opengl))
{
unsigned int bitmask;
unsigned char *bitmap_ = bitmap;