Assert even in release mode if preset shaders fail to compile. This is just to help track down a Play crash.

This commit is contained in:
Henrik Rydgård
2018-11-21 18:14:26 +01:00
parent f2244f789e
commit 429a1fce01
8 changed files with 8 additions and 7 deletions
+1
View File
@@ -16,6 +16,7 @@ bool AndroidJavaEGLGraphicsContext::InitFromRenderThread(ANativeWindow *wnd, int
draw_ = Draw::T3DCreateGLContext();
renderManager_ = (GLRenderManager *)draw_->GetNativeObject(Draw::NativeObject::RENDER_MANAGER);
bool success = draw_->CreatePresets();
_assert_msg_(G3D, success, "Failed to compile preset shaders");
return success;
}