summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--drivers/gles3/rasterizer_storage_gles3.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp
index a678c460f5..4b2c607297 100644
--- a/drivers/gles3/rasterizer_storage_gles3.cpp
+++ b/drivers/gles3/rasterizer_storage_gles3.cpp
@@ -57,7 +57,7 @@
#define _EXT_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
-
+#define _EXT_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
#define _GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
#define _GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
@@ -3946,6 +3946,8 @@ void RasterizerStorageGLES3::initialize() {
}
shaders.cubemap_filter.init();
+
+ glEnable(_EXT_TEXTURE_CUBE_MAP_SEAMLESS);
}
void RasterizerStorageGLES3::finalize() {