Browse Source

* set fpu control word appropriatly, see also #7570

git-svn-id: trunk@4834 -
florian 19 years ago
parent
commit
f68902500b
1 changed files with 4 additions and 2 deletions
  1. 4 2
      packages/extra/opengl/gl.pp

+ 4 - 2
packages/extra/opengl/gl.pp

@@ -2298,9 +2298,11 @@ end;
 
 
 initialization
 initialization
 
 
-  {$IFDEF WIN32}
+  { according to bug 7570, this is necessary on all x86 platforms,
+    maybe we've to fix the sse control word as well }
+  {$ifdef x86}
   Set8087CW($133F);
   Set8087CW($133F);
-  {$ENDIF WIN32}
+  {$endif x86}
 
 
   {$IFDEF Win32}
   {$IFDEF Win32}
   LoadOpenGL('opengl32.dll');
   LoadOpenGL('opengl32.dll');