mirror of
https://github.com/hrydgard/ppsspp.git
synced 2025-04-02 11:01:50 -04: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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue