diff options
author | Brian Paul <brianp@vmware.com> | 2009-01-22 11:15:37 -0700 |
---|---|---|
committer | Brian Paul <brianp@vmware.com> | 2009-01-22 11:15:37 -0700 |
commit | bbe365522ac05e4bf2e464d925b527059da62121 (patch) | |
tree | f08f7011c9d0fbb651975d77d446bf861cfe64fa | |
parent | 44f530cc7930365752afb4fcaf434f1734298152 (diff) |
intel: remove unneeded call to ctx->Driver.DepthRange()
The preceeding call to intel_draw_buffer() does that.
-rw-r--r-- | src/mesa/drivers/dri/intel/intel_fbo.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/mesa/drivers/dri/intel/intel_fbo.c b/src/mesa/drivers/dri/intel/intel_fbo.c index c987882e26..9d7e3c32ab 100644 --- a/src/mesa/drivers/dri/intel/intel_fbo.c +++ b/src/mesa/drivers/dri/intel/intel_fbo.c @@ -453,9 +453,6 @@ intel_bind_framebuffer(GLcontext * ctx, GLenum target, { if (target == GL_FRAMEBUFFER_EXT || target == GL_DRAW_FRAMEBUFFER_EXT) { intel_draw_buffer(ctx, fb); - /* Integer depth range depends on depth buffer bits */ - if (ctx->Driver.DepthRange != NULL) - ctx->Driver.DepthRange(ctx, ctx->Viewport.Near, ctx->Viewport.Far); } else { /* don't need to do anything if target == GL_READ_FRAMEBUFFER_EXT */ |