summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Marcec <dmarcecguzman@gmail.com>2020-06-25 11:12:56 +0200
committerDavid Marcec <dmarcecguzman@gmail.com>2020-06-25 11:12:56 +0200
commita927d8be52c343bc1025e5df822c56470eb27919 (patch)
tree75130254f6cc409c7467530749c0e3a0486778b8 /src
parentMerge pull request #4105 from ReinUsesLisp/resident-buffers (diff)
downloadyuzu-a927d8be52c343bc1025e5df822c56470eb27919.tar
yuzu-a927d8be52c343bc1025e5df822c56470eb27919.tar.gz
yuzu-a927d8be52c343bc1025e5df822c56470eb27919.tar.bz2
yuzu-a927d8be52c343bc1025e5df822c56470eb27919.tar.lz
yuzu-a927d8be52c343bc1025e5df822c56470eb27919.tar.xz
yuzu-a927d8be52c343bc1025e5df822c56470eb27919.tar.zst
yuzu-a927d8be52c343bc1025e5df822c56470eb27919.zip
Diffstat (limited to 'src')
-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;
}