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:
Pierre Wendling 2022-09-18 15:17:08 -04:00 committed by Sam Lantinga
parent c7c0e81c1c
commit efc93e6851
1 changed files with 0 additions and 2 deletions

View File

@ -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;