From c374beeb10e0f1cc71c8f237b590ec63339f03b9 Mon Sep 17 00:00:00 2001 From: Vincent Lejeune Date: Wed, 10 Sep 2014 00:20:32 +0200 Subject: [PATCH] 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. --- src/graphics/irr_driver.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/graphics/irr_driver.cpp b/src/graphics/irr_driver.cpp index a5ddb5203..8e7ed3c75 100644 --- a/src/graphics/irr_driver.cpp +++ b/src/graphics/irr_driver.cpp @@ -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