src/video/windx5/SDL_dx5events.c
changeset 1288 ea3888b472bf
parent 1280 f61f045343d3
child 1303 52b5afd7ecee
     1.1 --- a/src/video/windx5/SDL_dx5events.c	Sun Jan 29 08:50:06 2006 +0000
     1.2 +++ b/src/video/windx5/SDL_dx5events.c	Sun Jan 29 09:13:36 2006 +0000
     1.3 @@ -858,10 +858,7 @@
     1.4  		SDL_DIfun[i] = NULL;
     1.5  	}
     1.6  
     1.7 -#ifndef CS_BYTEALIGNCLIENT
     1.8 -#define CS_BYTEALIGNCLIENT	0
     1.9 -#endif
    1.10 -	SDL_RegisterApp("SDL_app", CS_BYTEALIGNCLIENT, 0);
    1.11 +	SDL_RegisterApp(NULL, 0, 0);
    1.12  
    1.13  	SDL_windowid = (windowid != NULL);
    1.14  	if ( SDL_windowid ) {
    1.15 @@ -907,4 +904,5 @@
    1.16  	} else {
    1.17  		DestroyWindow(SDL_Window);
    1.18  	}
    1.19 +	SDL_UnregisterApp();
    1.20  }