summaryrefslogtreecommitdiff
path: root/src/yuzu
diff options
context:
space:
mode:
authorMarkus Wick <markus@selfnet.de>2018-09-11 21:59:40 +0200
committerMarkus Wick <markus@selfnet.de>2018-09-11 22:18:46 +0200
commit3e973bc4c6c04c61df69518ef428c7cf0d18493d (patch)
tree8b4bbb8b3f9b9d5b00d4eddbfe1aed64652e2e5f /src/yuzu
parent1470b85af9027106f16c888bb7f6a97d44fad304 (diff)
gl_rasterizer: Use ARB_texture_storage.
It allows us to use texture views and it reduces the overhead within the GPU driver. But it disallows us to reallocate the texture, but we don't do so anyways. In the end, it is the new way to allocate textures, so there is no need to use the old way.
Diffstat (limited to 'src/yuzu')
-rw-r--r--src/yuzu/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp
index e36914f14..05a4a55e8 100644
--- a/src/yuzu/main.cpp
+++ b/src/yuzu/main.cpp
@@ -447,6 +447,8 @@ QStringList GMainWindow::GetUnsupportedGLExtensions() {
unsupported_ext.append("ARB_texture_mirror_clamp_to_edge");
if (!GLAD_GL_ARB_base_instance)
unsupported_ext.append("ARB_base_instance");
+ if (!GLAD_GL_ARB_texture_storage)
+ unsupported_ext.append("ARB_texture_storage");
// Extensions required to support some texture formats.
if (!GLAD_GL_EXT_texture_compression_s3tc)