From b2b6872b3df95570cb66ef4d742a8a59368e3f24 Mon Sep 17 00:00:00 2001 From: hgn Date: Mon, 22 Jan 2024 16:58:59 +0000 Subject: [PATCH] fix rendering issue in workshop board preview --- workshop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/workshop.c b/workshop.c index 1b3015f..a48e1a1 100644 --- a/workshop.c +++ b/workshop.c @@ -999,7 +999,7 @@ static void workshop_render_board_preview(void){ glBufferSubData( GL_UNIFORM_BUFFER, 0, sizeof(struct ub_world_lighting), &world->ub_lighting ); - render_world( world, &cam, 0, 0, 1, 1 ); + render_world( world, &cam, 0, 0, 0, 0 ); struct player_board_pose pose = {0}; render_board( &cam, world, board, mmdl, &pose, k_board_shader_entity ); render_board( &cam, world, board, mmdl1, &pose, k_board_shader_entity ); -- 2.25.1