src/video/windib/SDL_dibevents.c
changeset 1288 ea3888b472bf
parent 1282 217f5d5a49e5
child 1303 52b5afd7ecee
     1.1 --- a/src/video/windib/SDL_dibevents.c	Sun Jan 29 08:50:06 2006 +0000
     1.2 +++ b/src/video/windib/SDL_dibevents.c	Sun Jan 29 09:13:36 2006 +0000
     1.3 @@ -406,10 +406,7 @@
     1.4  {
     1.5  	char *windowid = getenv("SDL_WINDOWID");
     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 @@ -452,4 +449,5 @@
    1.16  	} else {
    1.17  		DestroyWindow(SDL_Window);
    1.18  	}
    1.19 +	SDL_UnregisterApp();
    1.20  }