Simplified version string functions.

This commit is contained in:
Camilla Berglund
2015-06-01 20:50:10 +02:00
parent ef6dec17ba
commit b00a7d0619
5 changed files with 5 additions and 15 deletions

View File

@@ -249,7 +249,7 @@ void _glfwPlatformTerminate(void)
const char* _glfwPlatformGetVersionString(void)
{
const char* version = _GLFW_VERSION_NUMBER " Cocoa"
return _GLFW_VERSION_NUMBER " Cocoa"
#if defined(_GLFW_NSGL)
" NSGL"
#endif
@@ -266,7 +266,5 @@ const char* _glfwPlatformGetVersionString(void)
" dynamic"
#endif
;
return version;
}