]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - render.h
made darkplaces able to compile as C++ again, and fixed all conversion warnings when...
[xonotic/darkplaces.git] / render.h
index 9fc52ba1ed17986e1bcd92660337329469870167..0fe33bc97554a287fc637d33db3858a51967f20e 100644 (file)
--- a/render.h
+++ b/render.h
@@ -350,7 +350,7 @@ r_glsl_permutation_t;
 // information about each possible shader permutation
 extern r_glsl_permutation_t r_glsl_permutations[SHADERPERMUTATION_COUNT];
 // currently selected permutation
-r_glsl_permutation_t *r_glsl_permutation;
+extern r_glsl_permutation_t *r_glsl_permutation;
 
 void R_GLSL_CompilePermutation(int permutation);
 void R_SetupSurfaceShader(const entity_render_t *ent, const texture_t *texture, const vec3_t modelorg, const vec3_t lightcolorbase, qboolean modellighting);