- specify vertex attributes in the shader source for Vulkan compatibility.
This commit is contained in:
parent
ad7aaa8f2a
commit
d2dea17e81
16 changed files with 9 additions and 46 deletions
|
|
@ -137,17 +137,6 @@ void FShaderProgram::Link(const char *name)
|
|||
}
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// Set vertex attribute location
|
||||
//
|
||||
//==========================================================================
|
||||
|
||||
void FShaderProgram::SetAttribLocation(int index, const char *name)
|
||||
{
|
||||
glBindAttribLocation(mProgram, index, name);
|
||||
}
|
||||
|
||||
//==========================================================================
|
||||
//
|
||||
// Set uniform buffer location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue