From f742c5a0576fc0ea4f6e15fdaec0add93487f6b9 Mon Sep 17 00:00:00 2001 From: Jens Nyberg Date: Tue, 13 May 2014 23:58:59 +0200 Subject: [PATCH] OGL/VertexManager: Remove unnused m_CurrentVertexFmt --- Source/Core/VideoBackends/OGL/VertexManager.cpp | 1 - Source/Core/VideoBackends/OGL/VertexManager.h | 1 - 2 files changed, 2 deletions(-) diff --git a/Source/Core/VideoBackends/OGL/VertexManager.cpp b/Source/Core/VideoBackends/OGL/VertexManager.cpp index e67630e128..29079ddf4e 100644 --- a/Source/Core/VideoBackends/OGL/VertexManager.cpp +++ b/Source/Core/VideoBackends/OGL/VertexManager.cpp @@ -59,7 +59,6 @@ void VertexManager::CreateDeviceObjects() s_indexBuffer = StreamBuffer::Create(GL_ELEMENT_ARRAY_BUFFER, MAX_IBUFFER_SIZE); m_index_buffers = s_indexBuffer->m_buffer; - m_CurrentVertexFmt = nullptr; m_last_vao = 0; } diff --git a/Source/Core/VideoBackends/OGL/VertexManager.h b/Source/Core/VideoBackends/OGL/VertexManager.h index ad764a876f..24df0c2b4f 100644 --- a/Source/Core/VideoBackends/OGL/VertexManager.h +++ b/Source/Core/VideoBackends/OGL/VertexManager.h @@ -44,7 +44,6 @@ private: void Draw(u32 stride); void vFlush(bool useDstAlpha) override; void PrepareDrawBuffers(u32 stride); - NativeVertexFormat *m_CurrentVertexFmt; }; }