Fixed OS X detection code.
authorRyan C. Gordon <icculus@icculus.org>
Fri, 28 Nov 2008 04:05:55 -0500
changeset 460 54c614f0fcb0
parent 459 6a2e259c132e
child 461 892b408b5779
Fixed OS X detection code.
mojoshader_opengl.c
--- a/mojoshader_opengl.c	Fri Nov 28 04:05:43 2008 -0500
+++ b/mojoshader_opengl.c	Fri Nov 28 04:05:55 2008 -0500
@@ -270,7 +270,7 @@
         checked = 1;
     } // if
 
-    return (combined >= ((x << 16) | (y << 16) | z));
+    return (combined >= ((x << 16) | (y << 8) | z));
 } // macosx_version_atleast
 #endif