gsdx ogl: rename the confusing function EmulateGS to Lines2Sprites

This commit is contained in:
Gregory Hainaut 2016-06-07 19:12:34 +02:00
parent 61075febae
commit 415ce93425
2 changed files with 3 additions and 3 deletions

View File

@ -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);

View File

@ -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);