summaryrefslogtreecommitdiffstats
path: root/src/video_core/renderer_opengl/maxwell_to_gl.h
diff options
context:
space:
mode:
authorKelebek1 <eeeedddccc@hotmail.co.uk>2023-10-06 01:58:30 +0200
committerKelebek1 <eeeedddccc@hotmail.co.uk>2023-10-06 01:58:30 +0200
commitad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd (patch)
treea17657370a25a30ced37cd016356c2b0d3102be3 /src/video_core/renderer_opengl/maxwell_to_gl.h
parentMerge pull request #11657 from liamwhite/new-codespell (diff)
downloadyuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar
yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar.gz
yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar.bz2
yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar.lz
yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar.xz
yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.tar.zst
yuzu-ad1a9f3d3af3ffb49a81e0c9d27301b824d9f7dd.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/maxwell_to_gl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video_core/renderer_opengl/maxwell_to_gl.h b/src/video_core/renderer_opengl/maxwell_to_gl.h
index c7dc7e0a1..5ea9e2378 100644
--- a/src/video_core/renderer_opengl/maxwell_to_gl.h
+++ b/src/video_core/renderer_opengl/maxwell_to_gl.h
@@ -116,6 +116,7 @@ constexpr std::array<FormatTuple, VideoCore::Surface::MaxPixelFormat> FORMAT_TAB
{GL_RGB9_E5, GL_RGB, GL_UNSIGNED_INT_5_9_9_9_REV}, // E5B9G9R9_FLOAT
{GL_DEPTH_COMPONENT32F, GL_DEPTH_COMPONENT, GL_FLOAT}, // D32_FLOAT
{GL_DEPTH_COMPONENT16, GL_DEPTH_COMPONENT, GL_UNSIGNED_SHORT}, // D16_UNORM
+ {GL_DEPTH_COMPONENT24, GL_DEPTH_COMPONENT, GL_UNSIGNED_INT_24_8}, // X8_D24_UNORM
{GL_STENCIL_INDEX8, GL_STENCIL, GL_UNSIGNED_BYTE}, // S8_UINT
{GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8}, // D24_UNORM_S8_UINT
{GL_DEPTH24_STENCIL8, GL_DEPTH_STENCIL, GL_UNSIGNED_INT_24_8}, // S8_UINT_D24_UNORM