diff options
author | Rodrigo Locatti <reinuseslisp@airmail.cc> | 2020-06-25 20:58:09 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 20:58:09 +0200 |
commit | ae1f709658b76e5f710318d961c06d18b7254157 (patch) | |
tree | 1b07417789cc063e273c64b362a8877e096222e3 /src | |
parent | Merge pull request #4141 from Morph1984/SevenSixAxisSensor (diff) | |
parent | gl_device: Fix IsASTCSupported (diff) | |
download | yuzu-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 'src')
-rw-r--r-- | src/video_core/renderer_opengl/gl_device.cpp | 2 |
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; } |