Browse Source

N3DS: Don't set `num_display` by hand.

Doing so creates 2 empty displays at the beginning of the list.
Pierre Wendling 2 years ago
parent
commit
efc93e6851
1 changed files with 0 additions and 2 deletions
  1. 0 2
      src/video/n3ds/SDL_n3dsvideo.c

+ 0 - 2
src/video/n3ds/SDL_n3dsvideo.c

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