mirror of
https://github.com/yuzu-emu/yuzu-android.git
synced 2025-06-11 05:07:58 -05:00
gl_device: Fix IsASTCSupported
Other targets were never actually checked
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user