mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-18 08:50:29 +02:00
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:
1 parent
f2244f789e
commit
429a1fce01
8 files changed
+8
-7
No files matched your search
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user