projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
71b7814
)
intel: remove unneeded call to ctx->Driver.DepthRange()
author
Brian Paul
<brianp@vmware.com>
Thu, 22 Jan 2009 18:15:37 +0000
(11:15 -0700)
committer
Brian Paul
<brianp@vmware.com>
Thu, 22 Jan 2009 22:32:52 +0000
(15:32 -0700)
The preceeding call to intel_draw_buffer() does that.
src/mesa/drivers/dri/intel/intel_fbo.c
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/intel/intel_fbo.c
b/src/mesa/drivers/dri/intel/intel_fbo.c
index ffe55bf19b86d9ac91af46d284a4b764aff8428e..e80b9c3fcede23460483dea1b8d3d35111765055 100644
(file)
--- a/
src/mesa/drivers/dri/intel/intel_fbo.c
+++ b/
src/mesa/drivers/dri/intel/intel_fbo.c
@@
-416,9
+416,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 */