Skip to content

Commit c9eada4

Browse files
committed
Fix SDL_net usage
1 parent 772486d commit c9eada4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ int main(int argc, char *argv[]) {
3636
LOG_SDL_VERSION("SDL_ttf", SDL_TTF_VERSION, TTF_Version);
3737
LOG_SDL_VERSION("SDL_rtf", SDL_RTF_VERSION, RTF_Version);
3838
#ifdef WITH_SDLNET
39-
LOG_SDL_VERSION("SDL_net", SDL_NET_VERSION, SDLNet_Version);
39+
LOG_SDL_VERSION("SDL_net", SDL_NET_VERSION, NET_GetVersion);
4040
#endif
4141

4242
/* Initialize test framework */
@@ -73,7 +73,7 @@ int main(int argc, char *argv[]) {
7373

7474
TTF_Init();
7575
#ifdef WITH_SDLNET
76-
SDLNet_Init();
76+
NET_Init();
7777
#endif
7878

7979
while (1) {

0 commit comments

Comments
 (0)