From ab6b8487a0ade2394c4b6c5e562c26f45fe2592d Mon Sep 17 00:00:00 2001 From: marha Date: Sun, 22 Nov 2009 23:03:41 +0000 Subject: It seems that wglGetPixelFormatAttribivARB may also return WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT --- xorg-server/hw/xwin/glx/indirect.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'xorg-server') diff --git a/xorg-server/hw/xwin/glx/indirect.c b/xorg-server/hw/xwin/glx/indirect.c index f574512b4..05e951e0a 100644 --- a/xorg-server/hw/xwin/glx/indirect.c +++ b/xorg-server/hw/xwin/glx/indirect.c @@ -2044,6 +2044,10 @@ glxWinCreateConfigsExt(HDC hdc, glxWinScreen *screen) case WGL_TYPE_RGBA_FLOAT_ARB: GLWIN_DEBUG_MSG("pixelFormat %d is WGL_TYPE_RGBA_FLOAT_ARB, skipping", i+1); continue; + + case WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT: + GLWIN_DEBUG_MSG("pixelFormat %d is WGL_TYPE_RGBA_UNSIGNED_FLOAT_EXT, skipping", i+1); + continue; case WGL_TYPE_RGBA_ARB: c->base.indexBits = 0; -- cgit v1.2.3