From f33cd7cbbd3daefe8e12593d19e2eb310a10069f Mon Sep 17 00:00:00 2001 From: NeoBrainX Date: Mon, 24 Jan 2011 11:57:17 +0000 Subject: DX11 code maintenance, part 5: Move shader and input layout management from EmuGfxState to Vertex/PixelShaderCache and D3DVertexFormat. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6906 8ced0084-cf51-0410-be5f-012b33b47a6e --- Source/Plugins/Plugin_VideoOGL/Src/NativeVertexFormat.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Plugins/Plugin_VideoOGL/Src/NativeVertexFormat.cpp') diff --git a/Source/Plugins/Plugin_VideoOGL/Src/NativeVertexFormat.cpp b/Source/Plugins/Plugin_VideoOGL/Src/NativeVertexFormat.cpp index effa3981d5..0df2e5faa7 100644 --- a/Source/Plugins/Plugin_VideoOGL/Src/NativeVertexFormat.cpp +++ b/Source/Plugins/Plugin_VideoOGL/Src/NativeVertexFormat.cpp @@ -64,7 +64,7 @@ public: ~GLVertexFormat(); virtual void Initialize(const PortableVertexDeclaration &_vtx_decl); - virtual void SetupVertexPointers() const; + virtual void SetupVertexPointers(); virtual void EnableComponents(u32 components); }; @@ -180,7 +180,7 @@ void GLVertexFormat::Initialize(const PortableVertexDeclaration &_vtx_decl) this->vtx_decl = _vtx_decl; } -void GLVertexFormat::SetupVertexPointers() const { +void GLVertexFormat::SetupVertexPointers() { // Cast a pointer to compiled code to a pointer to a function taking no parameters, through a (void *) cast first to // get around type checking errors, and call it. #ifdef USE_JIT -- cgit v1.2.3