]> de.git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - gl_poly.h
rearranged sky rendering code
[xonotic/darkplaces.git] / gl_poly.h
index 3ecc1412222e8a879bc2db547cc005d5a195e5b9..34de01848036a450e96a4a41ecdce89086c998c7 100644 (file)
--- a/gl_poly.h
+++ b/gl_poly.h
@@ -70,9 +70,8 @@ wallpoly_t;
 
 typedef struct
 {
-       // the order and type of these is crucial to the vertex array based rendering 
-       vec2_t tex;
-       vec3_t v;
+       float tex[2];
+       float v[4]; // 4th item is only for padding
 }
 skyvert_t;