video_core: disable depth/stencil texture download on OpenGL ES

This commit is contained in:
BreadFish64 2020-04-12 16:46:16 -05:00 committed by bunnei
parent a726715a93
commit 93f0757b25

View File

@ -223,6 +223,8 @@ void TextureDownloaderES::GetTexImage(GLenum target, GLuint level, GLenum format
switch (format) {
case GL_DEPTH_COMPONENT:
case GL_DEPTH_STENCIL:
// unfortunately, the accurate way is too slow for release
return;
state.draw.read_framebuffer = ConvertDepthToColor(level, format, type, height, width);
state.Apply();
break;