|
@@ -2517,7 +2517,8 @@ void Graphics::Restore()
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
// Enable seamless cubemap if possible
|
|
// Enable seamless cubemap if possible
|
|
|
- glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
|
|
|
|
|
|
|
+ if (gl3Support || GLEW_ARB_seamless_cube_map)
|
|
|
|
|
+ glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
|
|
|
#endif
|
|
#endif
|
|
|
|
|
|
|
|
// Set up texture data read/write alignment. It is important that this is done before uploading any texture data
|
|
// Set up texture data read/write alignment. It is important that this is done before uploading any texture data
|