Skip to content

Commit

Permalink
Fixed OS X detection code.
Browse files Browse the repository at this point in the history
  • Loading branch information
icculus committed Nov 28, 2008
1 parent d4aa436 commit bd4b1d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mojoshader_opengl.c
Expand Up @@ -270,7 +270,7 @@ static inline int macosx_version_atleast(int x, int y, int z)
checked = 1;
} // if

return (combined >= ((x << 16) | (y << 16) | z));
return (combined >= ((x << 16) | (y << 8) | z));
} // macosx_version_atleast
#endif

Expand Down

0 comments on commit bd4b1d1

Please sign in to comment.