]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - client.h
properly detect glsl 1.3 support
[xonotic/darkplaces.git] / client.h
index b26d51985f27435f275bfdf1f1a86d797ac9f19f..54c637b2d64aa514b8bd65dfc84eac9d6e2e22c1 100644 (file)
--- a/client.h
+++ b/client.h
@@ -34,7 +34,7 @@ typedef struct tridecal_s
        // color and initial alpha value
        float                   texcoord2f[3][2];
        float                   vertex3f[3][3];
-       unsigned char   color4ub[3][4];
+       float                   color4f[3][4];
        // how long this decal has lived so far (the actual fade begins at cl_decals_time)
        float                   lived;
        // if >= 0 this indicates the decal should follow an animated triangle
@@ -1579,6 +1579,9 @@ typedef struct r_refdef_stats_s
        int bouncegrid_hits;
        int bouncegrid_splats;
        int bouncegrid_bounces;
+       int collisioncache_animated;
+       int collisioncache_cached;
+       int collisioncache_traced;
        int bloom;
        int bloom_copypixels;
        int bloom_drawpixels;