Delete the vertex cache option from the code.

This commit is contained in:
Henrik Rydgård committed 2023-10-10 15:43:43 +02:00
1 parent 7d43a4940d
commit e4ea4831e9
21 files changed
+25 -1051

No files matched your search

+1 -3
View File
@@ -44,7 +44,7 @@
#include "GPU/GLES/ShaderManagerGLES.h"
#include "GPU/GLES/GPU_GLES.h"
const GLuint glprim[8] = {
static const GLuint glprim[8] = {
// Points, which are expanded to triangles.
GL_TRIANGLES,
// Lines and line strips, which are also expanded to triangles.
@@ -149,8 +149,6 @@ void DrawEngineGLES::ClearInputLayoutMap() {
}
void DrawEngineGLES::BeginFrame() {
gpuStats.numTrackedVertexArrays = 0;
FrameData &frameData = frameData_[render_->GetCurFrame()];
render_->BeginPushBuffer(frameData.pushIndex);
render_->BeginPushBuffer(frameData.pushVertex);