add DeviceLost and DeviceRestored functions to R_Modules system
[xonotic/darkplaces.git] / r_sky.c
diff --git a/r_sky.c b/r_sky.c
index e49ab57..388316a 100644 (file)
--- a/r_sky.c
+++ b/r_sky.c
@@ -454,6 +454,6 @@ void R_Sky_Init(void)
        Cvar_RegisterVariable (&r_skyscroll2);
        memset(&skyboxskinframe, 0, sizeof(skyboxskinframe));
        skyname[0] = 0;
-       R_RegisterModule("R_Sky", r_sky_start, r_sky_shutdown, r_sky_newmap);
+       R_RegisterModule("R_Sky", r_sky_start, r_sky_shutdown, r_sky_newmap, NULL, NULL);
 }