X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fdarkplaces.git;a=blobdiff_plain;f=cl_video.c;h=b9b215d1cd55d46bd0fdaaae9a36639733727b8b;hp=debe42232a4387e012c5509bac0c3bf24758b60d;hb=605b22f83aeabb5aa490df3f6714ca468146dd7e;hpb=1c752af2259f5ad9de6d57ae795e6a88f021aa07 diff --git a/cl_video.c b/cl_video.c index debe4223..b9b215d1 100644 --- a/cl_video.c +++ b/cl_video.c @@ -109,12 +109,12 @@ void CL_DrawVideo(void) vertex3f[ 6] = x2;vertex3f[ 7] = y2;vertex3f[ 8] = 0; vertex3f[ 9] = x1;vertex3f[10] = y2;vertex3f[11] = 0; mesh.texture = cl_videotexture; - mesh.numtriangles = 2; - mesh.numvertices = 4; - mesh.element3i = polygonelements; - mesh.vertex3f = vertex3f; - mesh.texcoord2f = texcoord2f; - mesh.color4f = color4f; + mesh.num_triangles = 2; + mesh.num_vertices = 4; + mesh.data_element3i = polygonelements; + mesh.data_vertex3f = vertex3f; + mesh.data_texcoord2f = texcoord2f; + mesh.data_color4f = color4f; DrawQ_Mesh(&mesh, 0); //DrawQ_Pic(0, 0, "engine_videoframe", vid.conwidth, vid.conheight, 1, 1, 1, 1, 0); }