From c6e7e4b1b1b72e0b67a64332033e3f41f2407f09 Mon Sep 17 00:00:00 2001 From: Aldrik Ramaekers Date: Wed, 27 Dec 2023 20:28:55 +0100 Subject: depth --- src/wall_item.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'src/wall_item.c') diff --git a/src/wall_item.c b/src/wall_item.c index cdec496..ef656a6 100644 --- a/src/wall_item.c +++ b/src/wall_item.c @@ -60,8 +60,6 @@ void update_wallitems_server() { static float wallspace_entry_time = 0.0f; void draw_keybinding_for_wallitem_purchase(platform_window* window, wall_item item) { - OVERLAY_RENDER_DEPTH(); - map_info info = get_map_info(window); char purchase_text[50]; @@ -108,7 +106,6 @@ void draw_wallitems(platform_window* window) { if (!item.active) continue; { - OBJECT_RENDER_DEPTH((int)item.position.y); box box = get_render_box_of_square(window, item.position, (vec3f){1,1,2}); renderer->render_image(item.img, box.tl_u.x, box.tl_u.y, box.tr_u.x - box.tl_u.x, box.br_u.y - box.tr_u.y); } -- cgit v1.2.3-70-g09d2