Ensure depth reads go via alpha render list, fixes #14759
This commit is contained in:
@ -112,8 +112,8 @@ int BitMap::get_true_bit_count() const {
|
||||
|
||||
void BitMap::set_bit(const Point2 &p_pos, bool p_value) {
|
||||
|
||||
int x = Math::fast_ftoi(p_pos.x);
|
||||
int y = Math::fast_ftoi(p_pos.y);
|
||||
int x = p_pos.x;
|
||||
int y = p_pos.y;
|
||||
|
||||
ERR_FAIL_INDEX(x, width);
|
||||
ERR_FAIL_INDEX(y, height);
|
||||
|
||||
Reference in New Issue
Block a user