mirror of
https://github.com/hrydgard/ppsspp.git
synced 2024-11-27 07:20:49 +00:00
Headless: Allow startup using NULL core.
Or maybe we should have a dummy Draw context...
This commit is contained in:
parent
636a7a2601
commit
6d8b78f523
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user