mirror of
https://github.com/blawar/GLideN64.git
synced 2024-07-02 09:03:37 +00:00
Fix issue where the barycoords vertex attribute was not being disabled
This commit is contained in:
parent
c92d13c094
commit
dc6340bfff
|
@ -183,8 +183,11 @@ void UnbufferedDrawer::drawLine(f32 _width, SPVertex * _vertices)
|
|||
|
||||
m_cachedAttribArray->enableVertexAttribArray(triangleAttrib::texcoord, false);
|
||||
m_cachedAttribArray->enableVertexAttribArray(triangleAttrib::modify, false);
|
||||
if (m_useCoverage)
|
||||
|
||||
if (m_useCoverage) {
|
||||
m_cachedAttribArray->enableVertexAttribArray(triangleAttrib::barycoords, false);
|
||||
m_cachedAttribArray->enableVertexAttribArray(rectAttrib::barycoords, false);
|
||||
}
|
||||
|
||||
m_cachedAttribArray->enableVertexAttribArray(rectAttrib::position, false);
|
||||
m_cachedAttribArray->enableVertexAttribArray(rectAttrib::texcoord0, false);
|
||||
|
|
Loading…
Reference in New Issue
Block a user