]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.h
colors for DrawQ_Mesh are now float rather than byte, and vertices are padded to...
[xonotic/darkplaces.git] / cl_screen.h
index da063b8d8e24694604049e34eaf421de39a4ca58..f54d99a9a4546d5445998c649f4d6e62b6d11157 100644 (file)
@@ -17,6 +17,9 @@ typedef struct drawqueue_s
 drawqueue_t;
 
 // a triangle mesh... embedded in the drawqueue
+// each vertex is 4 floats (3 are used)
+// each texcoord pair is 2 floats
+// each color is 4 floats
 typedef struct drawqueuemesh_s
 {
        rtexture_t *texture;
@@ -25,7 +28,7 @@ typedef struct drawqueuemesh_s
        int *indices;
        float *vertices;
        float *texcoords;
-       qbyte *colors;
+       float *colors;
 }
 drawqueuemesh_t;