]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - model_brush.h
most of the framework for hardware accelerated transforms is back, just the actual...
[xonotic/darkplaces.git] / model_brush.h
index eebdc525096406495974642490a19102c5446cbb..fdc69165e7ec50614a0c04f36a331799318ad88f 100644 (file)
@@ -210,7 +210,7 @@ struct entity_render_s;
 // change this stuff when real shaders are added
 typedef struct Cshader_s
 {
-       void (*shaderfunc[SHADERSTAGE_COUNT])(struct entity_render_s *ent, msurface_t *firstsurf);
+       void (*shaderfunc[SHADERSTAGE_COUNT])(const struct entity_render_s *ent, const msurface_t *firstsurf);
        // list of surfaces using this shader (used during surface rendering)
        msurface_t *chain;
 }