winex11: Only check for fs register corruption on i386.

This commit is contained in:
Alexandre Julliard 2009-12-24 12:58:51 +01:00
parent 18a7655234
commit 10e12c8183
1 changed files with 4 additions and 0 deletions

View File

@ -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) {