GLES: Avoid using failed depal shaders if possible.

Better to have one totally broken frame than all totally broken frames.
This commit is contained in:
Unknown W. Brackets authored and Henrik Rydgård committed 2018-01-27 15:10:17 +01:00
1 parent b566b6cca2
commit 48a07474f8
4 files changed
+8 -2

No files matched your search

+1
View File
@@ -164,6 +164,7 @@ void GLQueueRunner::RunInitSteps(const std::vector<GLRInitStep> &steps) {
OutputDebugStringUTF8(infoLog);
#endif
step.create_shader.shader->valid = false;
step.create_shader.shader->failed = true;
}
delete[] step.create_shader.code;
delete[] step.create_shader.desc;