add DeviceLost and DeviceRestored functions to R_Modules system
[xonotic/darkplaces.git] / vid_sdl.c
index a00029b..4d9153b 100644 (file)
--- a/vid_sdl.c
+++ b/vid_sdl.c
@@ -488,7 +488,7 @@ void VID_Init (void)
        //Cvar_RegisterVariable(&joy_sensitivityroll);
        
 #ifdef SDL_R_RESTART
-       R_RegisterModule("SDL", sdl_start, sdl_shutdown, sdl_newmap);
+       R_RegisterModule("SDL", sdl_start, sdl_shutdown, sdl_newmap, NULL, NULL);
 #endif
 
        if (SDL_Init(SDL_INIT_VIDEO) < 0)