[prev in list] [next in list] [prev in thread] [next in thread] 

List:       wine-patches
Subject:    winex11.drv: When skipping unknown attribute also skip it's value.
From:       Ričardas Barkauskas <rbarkauskas () codeweavers ! com>
Date:       2013-06-30 21:29:00
Message-ID: 51D0A31C.5060009 () codeweavers ! com
[Download RAW message or body]

---
 dlls/winex11.drv/opengl.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)



["0001-winex11.drv-When-skipping-unknown-attribute-also-skip-.txt" (text/x-patch)]

diff --git a/dlls/winex11.drv/opengl.c b/dlls/winex11.drv/opengl.c
index 0f937cb..c7f78c5 100644
--- a/dlls/winex11.drv/opengl.c
+++ b/dlls/winex11.drv/opengl.c
@@ -921,7 +921,7 @@ static int ConvertAttribWGLtoGLX(const int* iWGLAttr, int* oGLXAttr, struct wgl_
       TRACE("pAttr[%d] = GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT: %x\n", cur, pop);
       break ;
     default:
-      FIXME("unsupported %x WGL Attribute\n", iWGLAttr[cur]);
+      FIXME("unsupported %x WGL Attribute\n", iWGLAttr[cur++]);
       break;
     }
     ++cur;





[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic