make platformSupported actually callable before glfwInit
This commit is contained in:
parent
affdd6ae6f
commit
06e281f918
1 changed files with 0 additions and 1 deletions
|
@ -358,7 +358,6 @@ pub fn getPlatform() PlatformType {
|
||||||
///
|
///
|
||||||
/// thread_safety: This function may be called from any thread.
|
/// thread_safety: This function may be called from any thread.
|
||||||
pub fn platformSupported(platform: PlatformType) bool {
|
pub fn platformSupported(platform: PlatformType) bool {
|
||||||
internal_debug.assertInitialized();
|
|
||||||
return c.glfwPlatformSupported(@intFromEnum(platform)) == c.GLFW_TRUE;
|
return c.glfwPlatformSupported(@intFromEnum(platform)) == c.GLFW_TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue