summaryrefslogtreecommitdiff
path: root/drivers/gles3/rasterizer_storage_gles3.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2019-01-17 22:57:16 +0100
committerGitHub <noreply@github.com>2019-01-17 22:57:16 +0100
commit279ddbdf1ba5665f9dad08a7ee9fbb6ecb5936ed (patch)
treef7bb7cfa77ba9f960cfa2c9071c9bc789f64a1ec /drivers/gles3/rasterizer_storage_gles3.cpp
parent798246c34b1a83339a6c7c72618529f28ffb1e4e (diff)
parente1be09d8fdc54dce35b3e47ef3c08ff1d11ec82b (diff)
Merge pull request #25075 from efornara/fix-enum-scope
Fix enum scope
Diffstat (limited to 'drivers/gles3/rasterizer_storage_gles3.cpp')
-rw-r--r--drivers/gles3/rasterizer_storage_gles3.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/drivers/gles3/rasterizer_storage_gles3.cpp b/drivers/gles3/rasterizer_storage_gles3.cpp
index 920c587f2b..24673c8755 100644
--- a/drivers/gles3/rasterizer_storage_gles3.cpp
+++ b/drivers/gles3/rasterizer_storage_gles3.cpp
@@ -634,14 +634,14 @@ void RasterizerStorageGLES3::texture_allocate(RID p_texture, int p_width, int p_
#ifndef GLES_OVER_GL
switch (p_format) {
- case Image::Format::FORMAT_RF:
- case Image::Format::FORMAT_RGF:
- case Image::Format::FORMAT_RGBF:
- case Image::Format::FORMAT_RGBAF:
- case Image::Format::FORMAT_RH:
- case Image::Format::FORMAT_RGH:
- case Image::Format::FORMAT_RGBH:
- case Image::Format::FORMAT_RGBAH: {
+ case Image::FORMAT_RF:
+ case Image::FORMAT_RGF:
+ case Image::FORMAT_RGBF:
+ case Image::FORMAT_RGBAF:
+ case Image::FORMAT_RH:
+ case Image::FORMAT_RGH:
+ case Image::FORMAT_RGBH:
+ case Image::FORMAT_RGBAH: {
if (!config.texture_float_linear_supported) {
// disable linear texture filtering when not supported for float format on some devices (issue #24295)
p_flags &= ~VS::TEXTURE_FLAG_FILTER;