Get the sodding parameters the right way around.

* Idiot.
This commit is contained in:
baldurk
2014-12-17 20:54:21 +00:00
parent c1c97e291b
commit 10172c0516
@@ -1991,7 +1991,7 @@ bool WrappedOpenGL::Serialise_glVertexArrayVertexAttribOffsetEXT(GLuint vaobj, G
Size == 2 ? eGL_RG :
Size == 3 ? eGL_RGB :
eGL_RGBA;
Stride = (uint32_t)GetByteSize(1, 1, 1, Type, SizeEnum, 1);
Stride = (uint32_t)GetByteSize(1, 1, 1, SizeEnum, Type, 1);
}
m_Real.glVertexArrayBindVertexBufferEXT(vaobj, Index, buffer, (GLintptr)Offset, Stride);
}
@@ -2085,7 +2085,7 @@ bool WrappedOpenGL::Serialise_glVertexArrayVertexAttribIOffsetEXT(GLuint vaobj,
Size == 2 ? eGL_RG :
Size == 3 ? eGL_RGB :
eGL_RGBA;
Stride = (uint32_t)GetByteSize(1, 1, 1, Type, SizeEnum, 1);
Stride = (uint32_t)GetByteSize(1, 1, 1, SizeEnum, Type, 1);
}
m_Real.glVertexArrayBindVertexBufferEXT(vaobj, Index, buffer, (GLintptr)Offset, Stride);
}
@@ -2179,7 +2179,7 @@ bool WrappedOpenGL::Serialise_glVertexArrayVertexAttribLOffsetEXT(GLuint vaobj,
Size == 2 ? eGL_RG :
Size == 3 ? eGL_RGB :
eGL_RGBA;
Stride = (uint32_t)GetByteSize(1, 1, 1, Type, SizeEnum, 1);
Stride = (uint32_t)GetByteSize(1, 1, 1, SizeEnum, Type, 1);
}
m_Real.glVertexArrayBindVertexBufferEXT(vaobj, Index, buffer, (GLintptr)Offset, Stride);
}