Frederic Bouvier:
I have 3 issues that are fixed by this set of patches. 1. In extensions.cxx #else if !defined( WIN32 ) must be changed by #elif !defined( WIN32 ) because the text after #else seems to be ignored 2. banner is not available on windows, only cygwin 3. ANSI escape sequences are not interpreted on the windows console. We just have garbage that is hard to read.
This commit is contained in:
@@ -60,8 +60,7 @@ bool SGIsOpenGLExtensionSupported(char *extName) {
|
||||
// The *extName string must follow the OpenGL extensions naming scheme
|
||||
// (ie: "GL_type_extension", like GL_EXT_convolution)
|
||||
|
||||
return SGSearchExtensionsString((char *)glGetString(GL_EXTENSIONS),
|
||||
extName);
|
||||
return SGSearchExtensionsString((char *)glGetString(GL_EXTENSIONS),extName);
|
||||
}
|
||||
|
||||
#ifdef __APPLE__
|
||||
@@ -97,7 +96,7 @@ void* macosxGetGLProcAddress(const char *func) {
|
||||
return function;
|
||||
}
|
||||
|
||||
#else if !defined( WIN32 )
|
||||
#elif !defined( WIN32 )
|
||||
|
||||
void *SGGetGLProcAddress(const char *func) {
|
||||
static void *libHandle = NULL;
|
||||
|
||||
Reference in New Issue
Block a user