merged q1bsp and q3bsp surface rendering
[xonotic/darkplaces.git] / gl_draw.c
index 65c6a83..e861f11 100644 (file)
--- a/gl_draw.c
+++ b/gl_draw.c
@@ -335,7 +335,7 @@ cachepic_t  *Draw_CachePic (char *path)
        if (pic->tex == NULL)
        {
                Con_Printf("Draw_CachePic: failed to load %s\n", path);
-               pic->tex = r_notexture;
+               pic->tex = r_texture_notexture;
        }
 
        pic->width = R_TextureWidth(pic->tex);