瀏覽代碼

physfssdl3.c: add call to SDL_INIT_INTERFACE in PHYSFSSDL3_makeStorage

Simon Zeni 11 月之前
父節點
當前提交
adfdec6af1
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      extras/physfssdl3.c

+ 1 - 0
extras/physfssdl3.c

@@ -283,6 +283,7 @@ static Uint64 SDLCALL physfssdl3storage_space_remaining(void *userdata)
 SDL_Storage *PHYSFSSDL3_makeStorage(void)
 {
     SDL_StorageInterface iface;
+    SDL_INIT_INTERFACE(&iface);
     iface.close = physfssdl3storage_close;
     iface.ready = physfssdl3storage_ready;
     iface.enumerate = physfssdl3storage_enumerate;