浏览代码

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

Doing so creates 2 empty displays at the beginning of the list.
Pierre Wendling 2 年之前
父节点
当前提交
efc93e6851
共有 1 个文件被更改,包括 0 次插入2 次删除
  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;