mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-04 15:19:09 +00:00
Bit of cleanup and fixing of one issue that was noticeable in SMS with Mario's shadow.
This commit is contained in:
parent
dfb3c44d1a
commit
fb92c338af
5 changed files with 46 additions and 46 deletions
|
@ -274,10 +274,6 @@ void GLVertexFormat::EnableComponents(u32 components)
|
|||
if ((components & (VB_HAS_UV0 << i)) != (s_prevcomponents & (VB_HAS_UV0 << i)))
|
||||
{
|
||||
glClientActiveTexture(GL_TEXTURE0 + i);
|
||||
if (components & (VB_HAS_UV0 << i))
|
||||
glEnableClientState(GL_TEXTURE_COORD_ARRAY);
|
||||
else
|
||||
glDisableClientState(GL_TEXTURE_COORD_ARRAY);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue