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

View File

@ -83,8 +83,6 @@ N3DS_CreateDevice(void)
device->UpdateWindowFramebuffer = SDL_N3DS_UpdateWindowFramebuffer;
device->DestroyWindowFramebuffer = SDL_N3DS_DestroyWindowFramebuffer;
device->num_displays = 2;
device->free = N3DS_DeleteDevice;
return device;