diff options
author | Francisco Jerez <currojerez@riseup.net> | 2010-09-14 21:29:44 +0200 |
---|---|---|
committer | Francisco Jerez <currojerez@riseup.net> | 2010-09-16 19:44:22 +0200 |
commit | bfc7518ab993b006dffaad5f605137e94ff9d7bc (patch) | |
tree | af242c667b75c7cf3b31e7fef3a8f124095131c4 /src/mesa/drivers/dri/nouveau/nouveau_state.c | |
parent | 39658f32eaf1acc9603a9a5a2242fba8fd49e08f (diff) |
dri/nouveau: Don't request a fake front unnecessarily.
Diffstat (limited to 'src/mesa/drivers/dri/nouveau/nouveau_state.c')
-rw-r--r-- | src/mesa/drivers/dri/nouveau/nouveau_state.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/src/mesa/drivers/dri/nouveau/nouveau_state.c b/src/mesa/drivers/dri/nouveau/nouveau_state.c index a57df2d9dc..691e51e738 100644 --- a/src/mesa/drivers/dri/nouveau/nouveau_state.c +++ b/src/mesa/drivers/dri/nouveau/nouveau_state.c @@ -113,14 +113,9 @@ nouveau_depth_range(GLcontext *ctx, GLclampd nearval, GLclampd farval) } static void -nouveau_draw_buffer(GLcontext *ctx, GLenum buffer) -{ - context_dirty(ctx, FRAMEBUFFER); -} - -static void nouveau_draw_buffers(GLcontext *ctx, GLsizei n, const GLenum *buffers) { + nouveau_validate_framebuffer(ctx); context_dirty(ctx, FRAMEBUFFER); } @@ -519,7 +514,6 @@ nouveau_state_init(GLcontext *ctx) ctx->Driver.DepthFunc = nouveau_depth_func; ctx->Driver.DepthMask = nouveau_depth_mask; ctx->Driver.DepthRange = nouveau_depth_range; - ctx->Driver.DrawBuffer = nouveau_draw_buffer; ctx->Driver.DrawBuffers = nouveau_draw_buffers; ctx->Driver.Enable = nouveau_enable; ctx->Driver.Fogfv = nouveau_fog; |