Fix an attribute being larger than needed

This commit is contained in:
Thinkofname 2016-04-09 10:45:41 +01:00
parent 4c590f8184
commit d5a6eb36db
1 changed files with 1 additions and 1 deletions

View File

@ -88,7 +88,7 @@ impl Manager {
collection.shader.texture_info.vertex_pointer(4, gl::UNSIGNED_SHORT, false, 36, 12);
collection.shader.texture_offset.vertex_pointer_int(3, gl::SHORT, 36, 20);
collection.shader.color.vertex_pointer(4, gl::UNSIGNED_BYTE, true, 36, 28);
collection.shader.id.vertex_pointer_int(4, gl::UNSIGNED_BYTE, 36, 32);
collection.shader.id.vertex_pointer_int(1, gl::UNSIGNED_BYTE, 36, 32);
let mut model = Model {
// For culling only