From 415ce93425affcb4540ee30673f2565b6ff4859c Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Tue, 7 Jun 2016 19:12:34 +0200 Subject: [PATCH] gsdx ogl: rename the confusing function EmulateGS to Lines2Sprites --- plugins/GSdx/GSRendererOGL.cpp | 4 ++-- plugins/GSdx/GSRendererOGL.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugins/GSdx/GSRendererOGL.cpp b/plugins/GSdx/GSRendererOGL.cpp index 13a1ff7fdd..137a4509c1 100644 --- a/plugins/GSdx/GSRendererOGL.cpp +++ b/plugins/GSdx/GSRendererOGL.cpp @@ -60,7 +60,7 @@ bool GSRendererOGL::CreateDevice(GSDevice* dev) return true; } -void GSRendererOGL::EmulateGS() +void GSRendererOGL::Lines2Sprites() { if (m_vt.m_primclass != GS_SPRITE_CLASS) return; @@ -137,7 +137,7 @@ void GSRendererOGL::SetupIA() } if (!GLLoader::found_geometry_shader) - EmulateGS(); + Lines2Sprites(); dev->IASetVertexBuffer(m_vertex.buff, m_vertex.next); dev->IASetIndexBuffer(m_index.buff, m_index.tail); diff --git a/plugins/GSdx/GSRendererOGL.h b/plugins/GSdx/GSRendererOGL.h index 116e812198..9ee8e761d3 100644 --- a/plugins/GSdx/GSRendererOGL.h +++ b/plugins/GSdx/GSRendererOGL.h @@ -73,7 +73,7 @@ class GSRendererOGL final : public GSRendererHW private: inline void ResetStates(); - inline void EmulateGS(); + inline void Lines2Sprites(); inline void SetupIA(); inline void EmulateTextureShuffleAndFbmask(); inline void EmulateChannelShuffle(GSTexture** rt, const GSTextureCache::Source* tex);