Don't crash on missing readback formats.

This commit is contained in:
Henrik Rydgård committed 2018-01-28 18:00:48 +01:00
1 parent bd3a681fd3
commit 6c109abd9e
2 files changed
+2 -2

No files matched your search

-1
View File
@@ -81,7 +81,6 @@ bool Thin3DFormatToFormatAndType(DataFormat fmt, GLuint &internalFormat, GLuint
#endif
default:
_assert_msg_(G3D, false, "Thin3d GL: Unsupported texture format %d", (int)fmt);
return false;
}
return true;