]> de.git.xonotic.org Git - xonotic/darkplaces.git/commitdiff
changed array pointer state to const float * instead of const void *
authorhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 Mar 2005 23:23:14 +0000 (23:23 +0000)
committerhavoc <havoc@d7cf8633-e32d-0410-b094-e92efae38249>
Wed, 30 Mar 2005 23:23:14 +0000 (23:23 +0000)
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@5133 d7cf8633-e32d-0410-b094-e92efae38249

gl_backend.c

index cd1d482650fa49f20ebeb21ded02698a603edc21..c686bd5361c498733452f831eb481708b87120f7 100644 (file)
@@ -401,7 +401,7 @@ typedef struct gltextureunit_s
        int t1d, t2d, t3d, tcubemap;
        int arrayenabled;
        unsigned int arraycomponents;
-       const void *pointer_texcoord;
+       const float *pointer_texcoord;
        float rgbscale, alphascale;
        int combinergb, combinealpha;
        // FIXME: add more combine stuff
@@ -426,8 +426,8 @@ static struct
        float color4f[4];
        int lockrange_first;
        int lockrange_count;
-       const void *pointer_vertex;
-       const void *pointer_color;
+       const float *pointer_vertex;
+       const float *pointer_color;
 }
 gl_state;