Skip to content

Commit

Permalink
Fix wrong screen effect logic
Browse files Browse the repository at this point in the history
  • Loading branch information
Novum committed Dec 12, 2022
1 parent 175bb96 commit 51762cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quake/gl_vidsdl.c
Original file line number Diff line number Diff line change
Expand Up @@ -2682,7 +2682,7 @@ static void GL_EndRenderingTask (end_rendering_parms_t *parms)
vkCmdExecuteCommands (primary_cb, 1, &vulkan_globals.secondary_cb_contexts[CBX_UPDATE_LIGHTMAPS].cb);

const qboolean screen_effects =
parms->render_warp || (parms->render_scale >= 2) || parms->vid_palettize || (gl_polyblend.value && parms->v_blend[3] || parms->menu);
parms->render_warp || (parms->render_scale >= 2) || parms->vid_palettize || (gl_polyblend.value && parms->v_blend[3]) || parms->menu;
{
const qboolean resolve = (vulkan_globals.sample_count != VK_SAMPLE_COUNT_1_BIT);
VkRenderPassBeginInfo render_pass_begin_info;
Expand Down

0 comments on commit 51762cf

Please sign in to comment.