]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cl_screen.c
fix C++ compile error
[xonotic/darkplaces.git] / cl_screen.c
index 8458d2cf707018245f0b16d816687f690a6679c2..7d47664544f5b85e19e404f681b308ebd803de2b 100644 (file)
@@ -314,7 +314,7 @@ static void SCR_DrawNetGraph_DrawGraph (int graphx, int graphy, int graphwidth,
        }
        if (numlines > 0)
        {
-               R_Mesh_PrepareVertices_Generic(numlines*2, vertex, NULL);
+               R_Mesh_PrepareVertices_Generic(numlines*2, vertex, NULL, 0);
                DrawQ_Lines(0.0f, numlines, 0, false);
        }
        x = graphx;
@@ -785,6 +785,14 @@ const char *r_stat_name[r_stat_count] =
        "vertexbufferuploadsize",
        "framedatacurrent",
        "framedatasize",
+       "bufferdatacurrent_vertex", // R_BUFFERDATA_ types are added to this index
+       "bufferdatacurrent_index16",
+       "bufferdatacurrent_index32",
+       "bufferdatacurrent_uniform",
+       "bufferdatasize_vertex", // R_BUFFERDATA_ types are added to this index
+       "bufferdatasize_index16",
+       "bufferdatasize_index32",
+       "bufferdatasize_uniform",
        "animcache_vertexmesh_count",
        "animcache_vertexmesh_vertices",
        "animcache_vertexmesh_maxvertices",