Z value incorrectly specified for mouse cursor

Create issue
Issue #49 resolved
Former user created an issue

Automatic migration. Original reporter: "Sneftel"

The mouse cursor sprite is given Z value 1.0 (the furthest value). This causes it to be drawn under all window elements if Z-buffering is enabled and the Z-buffer is not cleared between window drawing and cursor drawing. To fix this, change line 64 of CEGUIMouseCursor.cpp from "d_position.d_z = 1.0f;" to "d_position.d_z = 0.0f;".

Reproducibility: always

Comments (0)

  1. Log in to comment