This commit is contained in:
Camilla Berglund 2016-02-17 21:30:17 +01:00
parent be94eb67be
commit 2accdb76bd
3 changed files with 5 additions and 5 deletions

View File

@ -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

View File

@ -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";
} }

View File

@ -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";
} }
} }