mirror of
https://github.com/yuzu-mirror/yuzu
synced 2024-12-24 14:53:05 +00:00
gl_rasterizer: Silence unused variable warning
Makes use of src, so it's not considered unused.
This commit is contained in:
parent
1f72bb733f
commit
08b270676b
1 changed files with 2 additions and 2 deletions
|
@ -922,8 +922,8 @@ void RasterizerOpenGL::SyncViewport(OpenGLState& current_state) {
|
||||||
viewport.y = viewport_rect.bottom;
|
viewport.y = viewport_rect.bottom;
|
||||||
viewport.width = viewport_rect.GetWidth();
|
viewport.width = viewport_rect.GetWidth();
|
||||||
viewport.height = viewport_rect.GetHeight();
|
viewport.height = viewport_rect.GetHeight();
|
||||||
viewport.depth_range_far = regs.viewports[i].depth_range_far;
|
viewport.depth_range_far = src.depth_range_far;
|
||||||
viewport.depth_range_near = regs.viewports[i].depth_range_near;
|
viewport.depth_range_near = src.depth_range_near;
|
||||||
}
|
}
|
||||||
state.depth_clamp.far_plane = regs.view_volume_clip_control.depth_clamp_far != 0;
|
state.depth_clamp.far_plane = regs.view_volume_clip_control.depth_clamp_far != 0;
|
||||||
state.depth_clamp.near_plane = regs.view_volume_clip_control.depth_clamp_near != 0;
|
state.depth_clamp.near_plane = regs.view_volume_clip_control.depth_clamp_near != 0;
|
||||||
|
|
Loading…
Reference in a new issue