Skip to content

Commit

Permalink
Add Vert/Tex Count Displays (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
datacrystals committed May 10, 2022
1 parent a2cd9f6 commit b701046
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1018,7 +1018,7 @@ void ERS_CLASS_VisualRenderer::DrawViewportOverlay(int Index, ERS_CLASS_SceneMan
for (unsigned long i = 0; i < NumModels; i++) {
NumVerts += SceneManager->Scenes_[SceneManager->ActiveScene_]->Models[i]->TotalVertices_;
NumIndices += SceneManager->Scenes_[SceneManager->ActiveScene_]->Models[i]->TotalIndices_;
NumTextures += SceneManager->Scenes_[SceneManager->ActiveScene_]->Models[i]->TextureIDs.size();
NumTextures += SceneManager->Scenes_[SceneManager->ActiveScene_]->Models[i]->OpenGLTextureIDs_.size();
TotalModels ++;
if (!SceneManager->Scenes_[SceneManager->ActiveScene_]->Models[i]->IsTemplateModel) {
InstancedModels++;
Expand Down

0 comments on commit b701046

Please sign in to comment.