mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 08:54:05 +00:00
opengl32: Use the +opengl debug channel everywhere.
This commit is contained in:
parent
7443db1ce9
commit
93dcfef00b
|
@ -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";
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue