=?UTF-8?Q?Ri=C4=8Dardas=20Barkauskas=20?=: winex11.drv: When skipping unknown attribute also skip its value.

Alexandre Julliard julliard at winehq.org
Tue Jul 2 14:31:29 CDT 2013


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

Author: Ričardas Barkauskas <rbarkauskas at codeweavers.com>
Date:   Mon Jul  1 22:12:16 2013 +0300

winex11.drv: When skipping unknown attribute also skip its value.

---

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

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




More information about the wine-cvs mailing list