implemented r_glsl_water cvar (refraction and reflection rendering)
[xonotic/darkplaces.git] / model_sprite.c
index 94b5b372a1dcf36127259241debb0b4d24e00b28..8fec8a66938bc44d579fe461f7b75c6e1843f2d9 100644 (file)
@@ -237,6 +237,7 @@ void Mod_IDSP_Load(model_t *mod, void *buffer, void *bufferend)
        loadmodel->CompileShadowVolume = NULL;
        loadmodel->DrawShadowVolume = NULL;
        loadmodel->DrawLight = NULL;
+       loadmodel->DrawAddWaterPlanes = NULL;
 
        version = LittleLong(((dsprite_t *)buffer)->version);
        if (version == SPRITE_VERSION || version == SPRITE32_VERSION)
@@ -355,6 +356,7 @@ void Mod_IDS2_Load(model_t *mod, void *buffer, void *bufferend)
        loadmodel->CompileShadowVolume = NULL;
        loadmodel->DrawShadowVolume = NULL;
        loadmodel->DrawLight = NULL;
+       loadmodel->DrawAddWaterPlanes = NULL;
 
        pinqsprite = (dsprite2_t *)buffer;