- fixed: The interpolation factor for models was never passed to the shader.
This commit is contained in:
parent
5302a10a7d
commit
618c23303f
5 changed files with 9 additions and 5 deletions
|
|
@ -138,7 +138,7 @@ FModelVertexBuffer::~FModelVertexBuffer()
|
|||
//
|
||||
//===========================================================================
|
||||
|
||||
unsigned int FModelVertexBuffer::SetupFrame(unsigned int frame1, unsigned int frame2, float factor)
|
||||
unsigned int FModelVertexBuffer::SetupFrame(unsigned int frame1, unsigned int frame2)
|
||||
{
|
||||
glBindBuffer(GL_ARRAY_BUFFER, vbo_id);
|
||||
glVertexAttribPointer(VATTR_VERTEX, 3, GL_FLOAT, false, sizeof(FModelVertex), &VMO[frame1].x);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue