]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - palette.c
add DeviceLost and DeviceRestored functions to R_Modules system
[xonotic/darkplaces.git] / palette.c
index e397f1559a70a61879a0742814c253cce1b5d3a2..af4131469d45cacdfb616ca9c5849e06db1f085f 100644 (file)
--- a/palette.c
+++ b/palette.c
@@ -330,7 +330,7 @@ void Palette_Load(void)
 
 void Palette_Init(void)
 {
-       R_RegisterModule("Palette", Palette_Load, Palette_Shutdown, Palette_NewMap);
+       R_RegisterModule("Palette", Palette_Load, Palette_Shutdown, Palette_NewMap, NULL, NULL);
        Cvar_RegisterVariable(&r_colormap_palette);
        Palette_Load();
 }