mirror of
https://github.com/hrydgard/ppsspp.git
synced 2026-10-11 13:36:24 +02:00
Fix crash in Zip UI. Make another crash happen earlier.
This commit is contained in:
1 parent
ccf63ef544
commit
a461dbeecb
3 files changed
+9
-5
No files matched your search
@@ -780,6 +780,7 @@ bool NativeInitGraphics(GraphicsContext *graphicsContext) {
|
||||
using namespace Draw;
|
||||
Core_SetGraphicsContext(graphicsContext);
|
||||
g_draw = graphicsContext->GetDrawContext();
|
||||
_assert_msg_(G3D, g_draw->GetVshaderPreset(VS_COLOR_2D) != nullptr, "Failed to compile presets");
|
||||
_assert_msg_(G3D, g_draw, "No draw context available!");
|
||||
|
||||
ui_draw2d.SetAtlas(&ui_atlas);
|
||||
|
||||
Reference in new issue
Block a user