mirror of
https://github.com/cemu-project/Cemu.git
synced 2025-12-22 22:37:04 +00:00
Latte: Refactor legacy OpenGL code for shader binding
This commit is contained in:
parent
dee764473d
commit
646835346c
14 changed files with 25 additions and 81 deletions
|
|
@ -230,11 +230,6 @@ sint32 RendererShaderGL::GetUniformLocation(const char* name)
|
|||
return glGetUniformLocation(m_program, name);
|
||||
}
|
||||
|
||||
void RendererShaderGL::SetUniform1iv(sint32 location, void* data, sint32 count)
|
||||
{
|
||||
glProgramUniform1iv(m_program, location, count, (const GLint*)data);
|
||||
}
|
||||
|
||||
void RendererShaderGL::SetUniform2fv(sint32 location, void* data, sint32 count)
|
||||
{
|
||||
glProgramUniform2fv(m_program, location, count, (const GLfloat*)data);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue