- specify vertex attributes in the shader source for Vulkan compatibility.

This commit is contained in:
Christoph Oelckers 2018-06-13 08:40:04 +02:00
commit d2dea17e81
16 changed files with 9 additions and 46 deletions

View file

@ -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