Merge pull request #150 from nical/glitch-fix
Fix vertex attribute configuration of alpha tiles
This commit is contained in:
commit
55be787ffd
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue