Răsfoiți Sursa

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

Doing so creates 2 empty displays at the beginning of the list.
Pierre Wendling 3 ani în urmă
părinte
comite
efc93e6851
1 a modificat fișierele cu 0 adăugiri și 2 ștergeri
  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;