aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/JEDI-SDL/OpenGL-Set8087CW.patch
blob: e08ca63eb31e81821e1592c93d9e85b2c4a2caac (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Index: OpenGL/Pas/gl.pas
===================================================================
--- OpenGL/Pas/gl.pas	(revision 961)
+++ OpenGL/Pas/gl.pas	(working copy)
@@ -2287,9 +2287,9 @@
 end;
 
 initialization
-  {$ifdef x86}
+  {$IF Defined(CPU386) or Defined(CPUI386) or Defined(CPUX86_64)}
   Set8087CW($133F);
-  {$endif x86}
+  {$IFEND}
 
   LoadOpenGL( GLLibName );