mirror of
https://github.com/encounter/SDL.git
synced 2025-05-23 15:51:23 +00:00
N3DS: Don't set num_display
by hand.
Doing so creates 2 empty displays at the beginning of the list.
This commit is contained in:
parent
c7c0e81c1c
commit
efc93e6851
@ -83,8 +83,6 @@ N3DS_CreateDevice(void)
|
|||||||
device->UpdateWindowFramebuffer = SDL_N3DS_UpdateWindowFramebuffer;
|
device->UpdateWindowFramebuffer = SDL_N3DS_UpdateWindowFramebuffer;
|
||||||
device->DestroyWindowFramebuffer = SDL_N3DS_DestroyWindowFramebuffer;
|
device->DestroyWindowFramebuffer = SDL_N3DS_DestroyWindowFramebuffer;
|
||||||
|
|
||||||
device->num_displays = 2;
|
|
||||||
|
|
||||||
device->free = N3DS_DeleteDevice;
|
device->free = N3DS_DeleteDevice;
|
||||||
|
|
||||||
return device;
|
return device;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user