mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 16:45:20 +02:00
GUIScene: Clear depth buffer + replace deprecated clearZBuffer calls
This commit is contained in:
committed by
GitHub
parent
66b5c08664
commit
285ba74723
@@ -950,7 +950,7 @@ void drawItemStack(
|
||||
|
||||
if (imesh && imesh->mesh) {
|
||||
scene::IMesh *mesh = imesh->mesh;
|
||||
driver->clearZBuffer();
|
||||
driver->clearBuffers(video::ECBF_DEPTH);
|
||||
s32 delta = 0;
|
||||
if (rotation_kind < IT_ROT_NONE) {
|
||||
MeshTimeInfo &ti = rotation_time_infos[rotation_kind];
|
||||
|
Reference in New Issue
Block a user