Browse Source

Add note of potential bug on old GPU's and seamless cube map extension.

Lasse Öörni 9 years ago
parent
commit
cac0d0e5aa
1 changed files with 4 additions and 0 deletions
  1. 4 0
      Source/Urho3D/Graphics/OpenGL/OGLGraphics.cpp

+ 4 - 0
Source/Urho3D/Graphics/OpenGL/OGLGraphics.cpp

@@ -2517,6 +2517,10 @@ void Graphics::Restore()
         }
         }
 
 
         // Enable seamless cubemap if possible
         // Enable seamless cubemap if possible
+        // Note: even though we check the extension, this can lead to software fallback on some old GPU's
+        // See https://github.com/urho3d/Urho3D/issues/1380 or
+        // http://distrustsimplicity.net/articles/gl_texture_cube_map_seamless-on-os-x/
+        // In case of trouble or for wanting maximum compatibility, simply remove the glEnable below.
         if (gl3Support || GLEW_ARB_seamless_cube_map)
         if (gl3Support || GLEW_ARB_seamless_cube_map)
             glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
             glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
 #endif
 #endif