git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@10775
d7cf8633-e32d-0410-b094-
e92efae38249
break;
case Q3TCGEN_ENVIRONMENT:
// make environment reflections using a spheremap
- rsurface.batchtexcoordtexture2f = R_FrameData_Alloc(batchnumvertices * sizeof(float[2]));
+ rsurface.batchtexcoordtexture2f = (float *)R_FrameData_Alloc(batchnumvertices * sizeof(float[2]));
rsurface.batchtexcoordtexture2f_vertexbuffer = NULL;
rsurface.batchtexcoordtexture2f_bufferoffset = 0;
for (j = 0;j < batchnumvertices;j++)