win32-fix selection of null 3d core
This commit is contained in:
parent
37ebeb0682
commit
9bd7b25aff
|
@ -5953,7 +5953,7 @@ DOKEYDOWN:
|
|||
}
|
||||
return 0;
|
||||
}
|
||||
return DefWindowProc (hwnd, message, wParam, lParam);
|
||||
return DefWindowProc (hwnd, message, wParam, lParam);
|
||||
}
|
||||
|
||||
void Change3DCoreWithFallbackAndSave(int newCore)
|
||||
|
@ -5966,6 +5966,12 @@ void Change3DCoreWithFallbackAndSave(int newCore)
|
|||
if(newCore == GPU3D_SWRAST)
|
||||
goto TRY_SWRAST;
|
||||
|
||||
if(newCore == GPU3D_NULL)
|
||||
{
|
||||
NDS_3D_ChangeCore(GPU3D_NULL);
|
||||
goto DONE;
|
||||
}
|
||||
|
||||
if(!NDS_3D_ChangeCore(GPU3D_OPENGL_3_2))
|
||||
{
|
||||
printf("falling back to 3d core: %s\n",core3DList[GPU3D_OPENGL_OLD]->name);
|
||||
|
|
Loading…
Reference in New Issue