Merge pull request #150 from nical/glitch-fix

Fix vertex attribute configuration of alpha tiles
This commit is contained in:
Patrick Walton 2019-05-13 10:58:06 -07:00 committed by GitHub
commit 55be787ffd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -1135,7 +1135,7 @@ where
);
device.configure_int_vertex_attr(
&object_attr,
2,
1,
VertexAttrType::I16,
MASK_TILE_INSTANCE_SIZE,
4,
@ -1143,7 +1143,7 @@ where
);
device.configure_int_vertex_attr(
&tile_index_attr,
2,
1,
VertexAttrType::I16,
MASK_TILE_INSTANCE_SIZE,
6,