video_core: disable depth/stencil texture download on OpenGL ES
This commit is contained in:
parent
7fcde40d2b
commit
eadefb446e
@ -223,6 +223,8 @@ void TextureDownloaderES::GetTexImage(GLenum target, GLuint level, GLenum format
|
|||||||
switch (format) {
|
switch (format) {
|
||||||
case GL_DEPTH_COMPONENT:
|
case GL_DEPTH_COMPONENT:
|
||||||
case GL_DEPTH_STENCIL:
|
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.draw.read_framebuffer = ConvertDepthToColor(level, format, type, height, width);
|
||||||
state.Apply();
|
state.Apply();
|
||||||
break;
|
break;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user