mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-06-16 12:58:33 +02:00
[Android] Make texture loading/deleting/drawing backend non-specific by making them happen in the backend instead of somewhere else. Just a clean up commit really.
This commit is contained in:
@ -181,13 +181,8 @@ namespace ButtonManager
|
||||
|
||||
void DrawButtons()
|
||||
{
|
||||
glEnable(GL_BLEND);
|
||||
glBlendFunc(GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA);
|
||||
|
||||
for(auto it = m_buttons.begin(); it != m_buttons.end(); ++it)
|
||||
DrawButton((*it)->GetTexture(), (*it)->GetCoords());
|
||||
|
||||
glDisable(GL_BLEND);
|
||||
g_video_backend->Video_DrawTexture((*it)->GetTexture(), (*it)->GetCoords());
|
||||
}
|
||||
|
||||
// InputDevice
|
||||
|
Reference in New Issue
Block a user