Commit d9235be5 authored by Juan Linietsky's avatar Juan Linietsky

Enable seamless cubemap only if extension is present.

parent 292c037f
......@@ -5469,7 +5469,9 @@ void RasterizerStorageGLES2::initialize() {
#ifdef GLES_OVER_GL
//this needs to be enabled manually in OpenGL 2.1
glEnable(_EXT_TEXTURE_CUBE_MAP_SEAMLESS);
if (config.extensions.has("GL_ARB_seamless_cube_map")) {
glEnable(_EXT_TEXTURE_CUBE_MAP_SEAMLESS);
}
glEnable(GL_POINT_SPRITE);
glEnable(GL_VERTEX_PROGRAM_POINT_SIZE);
#endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment