Lines Matching defs:platform
61 GLFWbool _glfwSelectPlatform(int desiredID, _GLFWplatform* platform)
73 _glfwInputError(GLFW_INVALID_ENUM, "Invalid platform ID 0x%08X", desiredID);
77 // Only allow the Null platform if specifically requested
79 return _glfwConnectNull(desiredID, platform);
82 _glfwInputError(GLFW_PLATFORM_UNAVAILABLE, "This binary only supports the Null platform");
104 // If there is exactly one platform available for auto-selection, let it emit the
105 // error on failure as the platform-specific error description may be more helpful
107 return supportedPlatforms[0].connect(supportedPlatforms[0].ID, platform);
111 if (supportedPlatforms[i].connect(desiredID, platform))
115 _glfwInputError(GLFW_PLATFORM_UNAVAILABLE, "Failed to detect any supported platform");
122 return supportedPlatforms[i].connect(desiredID, platform);
125 _glfwInputError(GLFW_PLATFORM_UNAVAILABLE, "The requested platform is not supported");
138 return _glfw.platform.platformID;
152 _glfwInputError(GLFW_INVALID_ENUM, "Invalid platform ID 0x%08X", platformID);