Commit 2accdb76 authored by Camilla Berglund's avatar Camilla Berglund
Browse files

Cleanup

parent be94eb67
......@@ -68,9 +68,9 @@ static const char* getErrorString(EGLint error)
return "A NativeWindowType argument does not refer to a valid native window";
case EGL_CONTEXT_LOST:
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
......
......@@ -74,9 +74,9 @@ static const char* getErrorString(int error)
return "The requested format is unavailable";
case GLFW_NO_WINDOW_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:
return "A validation layer found an error";
default:
return "ERROR: UNKNOWN VULKAN ERROR TOKEN";
return "ERROR: UNKNOWN VULKAN ERROR";
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment