Win32 port work dump.

This commit is contained in:
Camilla Berglund
2010-09-12 16:26:00 +02:00
parent 8c507dc333
commit 90df26ac3c
8 changed files with 355 additions and 421 deletions
-5
View File
@@ -43,11 +43,6 @@ static GLboolean isJoystickPresent(int joy)
{
JOYINFO ji;
// Windows NT 4.0 MMSYSTEM only supports 2 sticks (other Windows
// versions support 16 sticks)
if (_glfwLibrary.Sys.winVer == _GLFW_WIN_NT4 && joy > GLFW_JOYSTICK_2)
return GL_FALSE;
// Is it a valid stick ID (Windows don't support more than 16 sticks)?
if (joy < GLFW_JOYSTICK_1 || joy > GLFW_JOYSTICK_16)
return GL_FALSE;