Renderer/OpenGL: Enable GL_TEXTURE_CUBE_MAP_SEAMLESS
This commit is contained in:
@@ -163,6 +163,9 @@ namespace Nz
|
||||
return false;
|
||||
}
|
||||
|
||||
if (OpenGL::IsSupported(OpenGLExtension_SeamlessCubeMap))
|
||||
glEnable(GL_TEXTURE_CUBE_MAP_SEAMLESS);
|
||||
|
||||
if (m_parameters.antialiasingLevel > 0)
|
||||
glEnable(GL_MULTISAMPLE);
|
||||
|
||||
|
||||
@@ -1174,6 +1174,9 @@ namespace Nz
|
||||
}
|
||||
}
|
||||
|
||||
// Seamless Cubemap Filtering
|
||||
s_openGLextensions[OpenGLExtension_SeamlessCubeMap] = (s_openglVersion >= 320 || IsSupported("GL_ARB_seamless_cube_map"));
|
||||
|
||||
// Shader_ImageLoadStore
|
||||
s_openGLextensions[OpenGLExtension_Shader_ImageLoadStore] = (s_openglVersion >= 420 || IsSupported("GL_ARB_shader_image_load_store"));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user