diff options
| author | assiduous <assiduous@diligentgraphics.com> | 2020-07-08 05:29:16 +0000 |
|---|---|---|
| committer | assiduous <assiduous@diligentgraphics.com> | 2020-07-08 05:29:16 +0000 |
| commit | 3cd838c18d118df60689ef196430c9df7bd074ee (patch) | |
| tree | e5bffec59dc6dbef77982168fac73b176ab9b509 /Graphics/GraphicsEngineOpenGL | |
| parent | D3D12 and VK backends: disallowed mapping structured and formatted dynamic bu... (diff) | |
| download | DiligentCore-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.cpp | 2 |
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; } |
