summaryrefslogtreecommitdiffstats
path: root/src/sdl2_net-test.c
blob: bec5c47d52de80cb5b3509da19a5da974195a791 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
 * This file is part of MXE. See LICENSE.md for licensing information.
 */

#include <SDL_net.h>

int main(int argc, char *argv[])
{
    (void)argc;
    (void)argv;

    if (SDL_Init(SDL_INIT_EVERYTHING) < 0) return 1;
    if (SDLNet_Init() < 0) return 1;

    SDLNet_Quit();
    SDL_Quit();
    return 0;
}