]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_rmain.c
Fixed a invalid use of the sizeof() operator. Thanks to OpenBSD's custom GCC for...
[xonotic/darkplaces.git] / gl_rmain.c
index d796ec5f831877616b062e3236ad376265cb88e9..bce040c5ac836bea01a038b562ac5c023c61ce92 100644 (file)
@@ -2283,6 +2283,7 @@ void gl_main_start(void)
        r_refdef.fogmasktable_density = 0;
 }
 
+extern rtexture_t *loadingscreentexture;
 void gl_main_shutdown(void)
 {
        if (r_maxqueries)
@@ -2303,6 +2304,7 @@ void gl_main_shutdown(void)
                Mem_Free(r_svbsp.nodes);
        memset(&r_svbsp, 0, sizeof (r_svbsp));
        R_FreeTexturePool(&r_main_texturepool);
+       loadingscreentexture = NULL;
        r_texture_blanknormalmap = NULL;
        r_texture_white = NULL;
        r_texture_grey128 = NULL;