don't use depth range hack in rect case
This commit is contained in:
@ -202,8 +202,6 @@ static void render_2d(void) {
|
||||
const struct QuadBatch batch =
|
||||
collect_rect_batch(current, render_queue_len - i);
|
||||
|
||||
/* TODO: what's even the point? just use OR_EQUAL comparison */
|
||||
set_depth_range((double)batch_count / UINT16_MAX, 1.0);
|
||||
render_rect_batch(current, batch);
|
||||
|
||||
i += batch.size - 1; ++batch_count;
|
||||
|
Reference in New Issue
Block a user