mirror of https://github.com/PCSX2/pcsx2.git
gsdx ogl: rename the confusing function EmulateGS to Lines2Sprites
This commit is contained in:
parent
61075febae
commit
415ce93425
|
@ -60,7 +60,7 @@ bool GSRendererOGL::CreateDevice(GSDevice* dev)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
void GSRendererOGL::EmulateGS()
|
void GSRendererOGL::Lines2Sprites()
|
||||||
{
|
{
|
||||||
if (m_vt.m_primclass != GS_SPRITE_CLASS) return;
|
if (m_vt.m_primclass != GS_SPRITE_CLASS) return;
|
||||||
|
|
||||||
|
@ -137,7 +137,7 @@ void GSRendererOGL::SetupIA()
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!GLLoader::found_geometry_shader)
|
if (!GLLoader::found_geometry_shader)
|
||||||
EmulateGS();
|
Lines2Sprites();
|
||||||
|
|
||||||
dev->IASetVertexBuffer(m_vertex.buff, m_vertex.next);
|
dev->IASetVertexBuffer(m_vertex.buff, m_vertex.next);
|
||||||
dev->IASetIndexBuffer(m_index.buff, m_index.tail);
|
dev->IASetIndexBuffer(m_index.buff, m_index.tail);
|
||||||
|
|
|
@ -73,7 +73,7 @@ class GSRendererOGL final : public GSRendererHW
|
||||||
|
|
||||||
private:
|
private:
|
||||||
inline void ResetStates();
|
inline void ResetStates();
|
||||||
inline void EmulateGS();
|
inline void Lines2Sprites();
|
||||||
inline void SetupIA();
|
inline void SetupIA();
|
||||||
inline void EmulateTextureShuffleAndFbmask();
|
inline void EmulateTextureShuffleAndFbmask();
|
||||||
inline void EmulateChannelShuffle(GSTexture** rt, const GSTextureCache::Source* tex);
|
inline void EmulateChannelShuffle(GSTexture** rt, const GSTextureCache::Source* tex);
|
||||||
|
|
Loading…
Reference in New Issue