Disable all extension on OSX

OSX does support GL 4.1 + a couple of 4.2 extensions. Since not all 4.2
extensions are present, disable extensions support instead of supporting
several combinaisons of extensions.
This commit is contained in:
Vincent Lejeune 2014-09-10 00:20:32 +02:00
parent 9adda0bfeb
commit c374beeb10

View File

@ -504,6 +504,7 @@ void IrrDriver::initDevice()
hasComputeShaders = false;
hasTextureStorage = false;
// Default false value for hasVSLayer if --no-graphics argument is used
#if !defined(__APPLE__)
if (!ProfileWorld::isNoGraphics())
{
if (hasGLExtension("GL_AMD_vertex_shader_layer")) {
@ -531,7 +532,7 @@ void IrrDriver::initDevice()
Log::info("GLDriver", "ARB Texture Storage enabled");
}
}
#endif
// This remaps the window, so it has to be done before the clear to avoid flicker