mirror of
https://github.com/WinampDesktop/winamp.git
synced 2025-06-14 19:15:46 -04:00
GPU: Implement fill VRAM command
This commit is contained in:
@ -79,7 +79,7 @@ void Program::BindDefaultAttributes()
|
||||
BindAttribute(2, "a_color");
|
||||
}
|
||||
|
||||
void Program::BindFragData(GLuint index /*= 0*/, const char* name /*= "ocol0"*/)
|
||||
void Program::BindFragData(GLuint index /*= 0*/, const char* name /*= "o_col0"*/)
|
||||
{
|
||||
glBindFragDataLocation(m_program_id, index, name);
|
||||
}
|
||||
|
@ -19,7 +19,7 @@ public:
|
||||
void BindAttribute(GLuint index, const char* name);
|
||||
void BindDefaultAttributes();
|
||||
|
||||
void BindFragData(GLuint index = 0, const char* name = "ocol0");
|
||||
void BindFragData(GLuint index = 0, const char* name = "o_col0");
|
||||
|
||||
bool Link();
|
||||
|
||||
|
Reference in New Issue
Block a user