mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 11:28:05 +02:00
radeon: Remove dead code
A future patch will rename some of the fields of gl_viewport_attrib, and I don't want to update dead code that I can't test. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Cc: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
4fcdb75268
commit
fbc0c9a553
1 changed files with 0 additions and 9 deletions
|
|
@ -317,15 +317,6 @@ void radeon_draw_buffer(struct gl_context *ctx, struct gl_framebuffer *fb)
|
|||
_mesa_reference_renderbuffer(&radeon->state.color.rb, &rrbColor->base.Base);
|
||||
radeon->state.color.draw_offset = offset;
|
||||
|
||||
#if 0
|
||||
/* update viewport since it depends on window size */
|
||||
if (ctx->Driver.Viewport) {
|
||||
ctx->Driver.Viewport(ctx, ctx->Viewport.X, ctx->Viewport.Y,
|
||||
ctx->Viewport.Width, ctx->Viewport.Height);
|
||||
} else {
|
||||
|
||||
}
|
||||
#endif
|
||||
ctx->NewState |= _NEW_VIEWPORT;
|
||||
|
||||
/* Set state we know depends on drawable parameters:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue