mirror of
https://github.com/glfw/glfw.git
synced 2024-11-29 15:44:35 +00:00
Cleanup
This commit is contained in:
parent
be94eb67be
commit
2accdb76bd
@ -68,9 +68,9 @@ static const char* getErrorString(EGLint error)
|
|||||||
return "A NativeWindowType argument does not refer to a valid native window";
|
return "A NativeWindowType argument does not refer to a valid native window";
|
||||||
case EGL_CONTEXT_LOST:
|
case EGL_CONTEXT_LOST:
|
||||||
return "The application must destroy all contexts and reinitialise";
|
return "The application must destroy all contexts and reinitialise";
|
||||||
|
default:
|
||||||
|
return "ERROR: UNKNOWN EGL ERROR";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "UNKNOWN EGL ERROR";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
// Returns the specified attribute of the specified EGLConfig
|
// Returns the specified attribute of the specified EGLConfig
|
||||||
|
@ -74,9 +74,9 @@ static const char* getErrorString(int error)
|
|||||||
return "The requested format is unavailable";
|
return "The requested format is unavailable";
|
||||||
case GLFW_NO_WINDOW_CONTEXT:
|
case GLFW_NO_WINDOW_CONTEXT:
|
||||||
return "The specified window has no context";
|
return "The specified window has no context";
|
||||||
|
default:
|
||||||
|
return "ERROR: UNKNOWN GLFW ERROR";
|
||||||
}
|
}
|
||||||
|
|
||||||
return "ERROR: UNKNOWN ERROR TOKEN PASSED TO glfwErrorString";
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ const char* _glfwGetVulkanResultString(VkResult result)
|
|||||||
case VK_ERROR_VALIDATION_FAILED_EXT:
|
case VK_ERROR_VALIDATION_FAILED_EXT:
|
||||||
return "A validation layer found an error";
|
return "A validation layer found an error";
|
||||||
default:
|
default:
|
||||||
return "ERROR: UNKNOWN VULKAN ERROR TOKEN";
|
return "ERROR: UNKNOWN VULKAN ERROR";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user