]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_shared.h
Reworked VM_CL_PolygonBegin/Vertex/End functions to do the commit to the mesh in...
[xonotic/darkplaces.git] / model_shared.h
index 64c3c7d7995f6a22b0a58c9808181099de169c3a..db71e4b112dae04b3210def3ec60f47c5f308714 100644 (file)
@@ -632,8 +632,10 @@ typedef struct texture_s
        // diffuse and ambient
        float rtlightambient;
 
-       // used by Mod_Mesh_GetTexture for drawflag overrides, to disambiguate the same texture with different drawflags
-       int drawflag;
+       // used by Mod_Mesh_GetTexture for drawflag and materialflag overrides, to disambiguate the same texture with different hints
+       int mesh_drawflag;
+       int mesh_defaulttexflags;
+       int mesh_defaultmaterialflags;
 }
  texture_t;