mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2024-11-26 22:40:50 +00:00
Remove duplicate comment
This commit is contained in:
parent
abda667781
commit
741f64604c
1 changed files with 0 additions and 1 deletions
|
@ -949,7 +949,6 @@ static void RE_RenderView (refdef_t *fd)
|
||||||
// When rendering the world, scale down scissor proportionally to vk_pixel_size.
|
// When rendering the world, scale down scissor proportionally to vk_pixel_size.
|
||||||
if (vk_state.current_renderpass == RP_WORLD)
|
if (vk_state.current_renderpass == RP_WORLD)
|
||||||
{
|
{
|
||||||
// When rendering the world, scale down scissor proportionally to vk_pixel_size.
|
|
||||||
const float divisor = (vk_pixel_size->value < 1.0f ? 1.0f : vk_pixel_size->value);
|
const float divisor = (vk_pixel_size->value < 1.0f ? 1.0f : vk_pixel_size->value);
|
||||||
scissor.offset.x = (int32_t)floorf(scissor.offset.x / divisor);
|
scissor.offset.x = (int32_t)floorf(scissor.offset.x / divisor);
|
||||||
scissor.offset.y = (int32_t)floorf(scissor.offset.y / divisor);
|
scissor.offset.y = (int32_t)floorf(scissor.offset.y / divisor);
|
||||||
|
|
Loading…
Reference in a new issue