summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRodrigo Locatti <reinuseslisp@airmail.cc>2020-06-25 20:58:09 +0200
committerGitHub <noreply@github.com>2020-06-25 20:58:09 +0200
commitae1f709658b76e5f710318d961c06d18b7254157 (patch)
tree1b07417789cc063e273c64b362a8877e096222e3 /src
parentMerge pull request #4141 from Morph1984/SevenSixAxisSensor (diff)
parentgl_device: Fix IsASTCSupported (diff)
downloadyuzu-ae1f709658b76e5f710318d961c06d18b7254157.tar
yuzu-ae1f709658b76e5f710318d961c06d18b7254157.tar.gz
yuzu-ae1f709658b76e5f710318d961c06d18b7254157.tar.bz2
yuzu-ae1f709658b76e5f710318d961c06d18b7254157.tar.lz
yuzu-ae1f709658b76e5f710318d961c06d18b7254157.tar.xz
yuzu-ae1f709658b76e5f710318d961c06d18b7254157.tar.zst
yuzu-ae1f709658b76e5f710318d961c06d18b7254157.zip
Diffstat (limited to '')
-rw-r--r--src/video_core/renderer_opengl/gl_device.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video_core/renderer_opengl/gl_device.cpp b/src/video_core/renderer_opengl/gl_device.cpp
index 447a19595..b6b6659c1 100644
--- a/src/video_core/renderer_opengl/gl_device.cpp
+++ b/src/video_core/renderer_opengl/gl_device.cpp
@@ -178,7 +178,7 @@ bool IsASTCSupported() {
for (const GLenum format : formats) {
for (const GLenum support : required_support) {
GLint value;
- glGetInternalformativ(GL_TEXTURE_2D, format, support, 1, &value);
+ glGetInternalformativ(target, format, support, 1, &value);
if (value != GL_FULL_SUPPORT) {
return false;
}