mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 19:11:50 +00:00
update 'overlay-texture' block property behaviour
This commit is contained in:
parent
4f377b2056
commit
9b5c693027
8 changed files with 44 additions and 16 deletions
|
|
@ -106,7 +106,7 @@ void Batch3D::face(
|
|||
tint.r, tint.g, tint.b, tint.a);
|
||||
}
|
||||
|
||||
void Batch3D::texture(Texture* new_texture){
|
||||
void Batch3D::texture(const Texture* new_texture){
|
||||
if (currentTexture == new_texture)
|
||||
return;
|
||||
flush();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue