diff --git a/Quake/gl_rmisc.c b/Quake/gl_rmisc.c index e6e9cb083..a848c8073 100644 --- a/Quake/gl_rmisc.c +++ b/Quake/gl_rmisc.c @@ -1436,7 +1436,7 @@ void R_CreatePipelines() shader_stages[1].module = basic_notex_frag_module; depth_stencil_state_create_info.depthTestEnable = VK_TRUE; - depth_stencil_state_create_info.depthWriteEnable = VK_FALSE; + depth_stencil_state_create_info.depthWriteEnable = VK_TRUE; depth_stencil_state_create_info.depthCompareOp = VK_COMPARE_OP_LESS_OR_EQUAL; assert(vulkan_globals.sky_color_pipeline == VK_NULL_HANDLE); @@ -1446,6 +1446,7 @@ void R_CreatePipelines() GL_SetObjectName((uint64_t)vulkan_globals.sky_color_pipeline, VK_DEBUG_REPORT_OBJECT_TYPE_PIPELINE_EXT, "sky_color"); + depth_stencil_state_create_info.depthTestEnable = VK_FALSE; shader_stages[1].module = basic_frag_module; assert(vulkan_globals.sky_box_pipeline == VK_NULL_HANDLE);