project_files/frontlib/frontlib.c
changeset 7320 e704706008d4
parent 7316 f7b49b2c5d84
child 10017 de822cd3df3a
equal deleted inserted replaced
7318:a446eafcddeb 7320:e704706008d4
    19 
    19 
    20 #include "frontlib.h"
    20 #include "frontlib.h"
    21 #include "util/logging.h"
    21 #include "util/logging.h"
    22 #include <SDL_net.h>
    22 #include <SDL_net.h>
    23 
    23 
    24 int flib_init(int flags) {
    24 int flib_init() {
    25 	flib_log_d("Initializing frontlib");
    25 	flib_log_d("Initializing frontlib");
    26 	if(SDLNet_Init()==-1) {
    26 	if(SDLNet_Init()==-1) {
    27 		flib_log_e("Error in SDLNet_Init: %s", SDLNet_GetError());
    27 		flib_log_e("Error in SDLNet_Init: %s", SDLNet_GetError());
    28 		return -1;
    28 		return -1;
    29 	}
    29 	}