소스 검색

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;