aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/JEDI-SDL/OpenGL-Set8087CW.patch
blob: dac54c1d1696ea8ced66d3614b4362a0ddf2b0f6 (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 );