summaryrefslogtreecommitdiffstats
path: root/Graphics/GraphicsEngineOpenGL
diff options
context:
space:
mode:
authorassiduous <assiduous@diligentgraphics.com>2020-07-08 05:29:16 +0000
committerassiduous <assiduous@diligentgraphics.com>2020-07-08 05:29:16 +0000
commit3cd838c18d118df60689ef196430c9df7bd074ee (patch)
treee5bffec59dc6dbef77982168fac73b176ab9b509 /Graphics/GraphicsEngineOpenGL
parentD3D12 and VK backends: disallowed mapping structured and formatted dynamic bu... (diff)
downloadDiligentCore-3cd838c18d118df60689ef196430c9df7bd074ee.tar.gz
DiligentCore-3cd838c18d118df60689ef196430c9df7bd074ee.zip
Fixed anisotropic filter support check in GLES
Diffstat (limited to 'Graphics/GraphicsEngineOpenGL')
-rw-r--r--Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp b/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp
index 53828b29..5734ae75 100644
--- a/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp
+++ b/Graphics/GraphicsEngineOpenGL/src/RenderDeviceGLImpl.cpp
@@ -223,7 +223,7 @@ RenderDeviceGLImpl::RenderDeviceGLImpl(IReferenceCounters* pRefCounters,
TexCaps.CubemapArraysSupported = IsGLES32OrAbove || strstr(Extensions, "texture_cube_map_array");
SamCaps.BorderSamplingModeSupported = GL_TEXTURE_BORDER_COLOR && (IsGLES32OrAbove || strstr(Extensions, "texture_border_clamp"));
- SamCaps.AnisotropicFilteringSupported = GL_TEXTURE_MAX_ANISOTROPY_EXT && (IsGLES31OrAbove || strstr(Extensions, "texture_filter_anisotropic"));
+ SamCaps.AnisotropicFilteringSupported = GL_TEXTURE_MAX_ANISOTROPY_EXT && strstr(Extensions, "texture_filter_anisotropic");
SamCaps.LODBiasSupported = GL_TEXTURE_LOD_BIAS && IsGLES31OrAbove;
}