Add some asserts in the hope of gathering some more info (and consolidating some crashes).

This commit is contained in:
Henrik Rydgård committed 2022-12-18 21:58:20 +01:00
1 parent 710e63814f
commit 6922ee7e52
4 files changed
+11 -5

No files matched your search

+2
View File
@@ -876,6 +876,8 @@ bool NativeInitGraphics(GraphicsContext *graphicsContext) {
Core_SetGraphicsContext(graphicsContext);
g_draw = graphicsContext->GetDrawContext();
_assert_(g_draw);
if (!CreateGlobalPipelines()) {
ERROR_LOG(G3D, "Failed to create global pipelines");
return false;