Skip to content

Commit

Permalink
Headless: Allow startup using NULL core.
Browse files Browse the repository at this point in the history
Or maybe we should have a dummy Draw context...
  • Loading branch information
unknownbrackets committed Dec 1, 2018
1 parent 636a7a2 commit 6d8b78f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion GPU/GPU.cpp
Expand Up @@ -61,7 +61,7 @@ bool GPU_IsReady() {
}

bool GPU_Init(GraphicsContext *ctx, Draw::DrawContext *draw) {
_assert_(draw);
_assert_(draw || PSP_CoreParameter().gpuCore == GPUCORE_NULL);
#if PPSSPP_PLATFORM(UWP)
SetGPU(new GPU_D3D11(ctx, draw));
return true;
Expand Down

0 comments on commit 6d8b78f

Please sign in to comment.