Alexandre Julliard : winex11: Only check for fs register corruption on i386 .
Module: wine Branch: master Commit: 10e12c81831891ac3f1de7b31b46641aa30c0973 URL: http://source.winehq.org/git/wine.git/?a=commit;h=10e12c81831891ac3f1de7b31b... Author: Alexandre Julliard <julliard(a)winehq.org> Date: Thu Dec 24 12:58:51 2009 +0100 winex11: Only check for fs register corruption on i386. --- 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 38f1dad..5bd0255 100644 --- a/dlls/winex11.drv/opengl.c +++ b/dlls/winex11.drv/opengl.c @@ -310,6 +310,7 @@ static BOOL X11DRV_WineGL_InitOpenglInfo(void) vis = pglXChooseVisual(gdi_display, screen, attribList); if (vis) { +#ifdef __i386__ WORD old_fs = wine_get_fs(); /* Create a GLX Context. Without one we can't query GL information */ ctx = pglXCreateContext(gdi_display, vis, None, GL_TRUE); @@ -321,6 +322,9 @@ static BOOL X11DRV_WineGL_InitOpenglInfo(void) ERR( "You need to set the \"UseFastTls\" option to \"2\" in your X config file.\n" ); return FALSE; } +#else + ctx = pglXCreateContext(gdi_display, vis, None, GL_TRUE); +#endif } if (ctx) {
participants (1)
-
Alexandre Julliard