Roderick Colenbrander : wgl: Support WGL_FLOAT_COMPONENTS_NV in wglGetPixelFormatAttrib*.

Alexandre Julliard julliard at wine.codeweavers.com
Thu Aug 2 06:23:01 CDT 2007


Module: wine
Branch: master
Commit: b25b287e6c03f939ea9205e9e07900ba5f5dc493
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=b25b287e6c03f939ea9205e9e07900ba5f5dc493

Author: Roderick Colenbrander <thunderbird2k at gmx.net>
Date:   Wed Aug  1 22:15:10 2007 +0200

wgl: Support WGL_FLOAT_COMPONENTS_NV in wglGetPixelFormatAttrib*.

---

 dlls/winex11.drv/opengl.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 61a521d..5bda906 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -2679,6 +2679,10 @@ static GLboolean WINAPI X11DRV_wglGetPixelFormatAttribivARB(HDC hdc, int iPixelF
                 curGLXAttr = GLX_SAMPLES_ARB;
                 break;
 
+            case WGL_FLOAT_COMPONENTS_NV:
+                curGLXAttr = GLX_FLOAT_COMPONENTS_NV;
+                break;
+
             default:
                 FIXME("unsupported %x WGL Attribute\n", curWGLAttr);
         }




More information about the wine-cvs mailing list