mirror of https://github.com/encounter/SDL.git
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…
Reference in New Issue