diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-10-31 14:49:46 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-10-31 14:49:46 -0600 |
commit | f36372f0b27bdb7f99c3e5615eaf156b492dbd1d (patch) | |
tree | 0f45bd0277d5d6b4f3b84b8a3ee0a9507aa5da1e /src/mesa/pipe/xlib/xm_surface.c | |
parent | 4a13a550e0f0fc12072f117229230175af30de24 (diff) |
Start removing old driver funcs like ColorMask, ClearColor, etc.
Diffstat (limited to 'src/mesa/pipe/xlib/xm_surface.c')
-rw-r--r-- | src/mesa/pipe/xlib/xm_surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/pipe/xlib/xm_surface.c b/src/mesa/pipe/xlib/xm_surface.c index 5533158ece..47ed15ccca 100644 --- a/src/mesa/pipe/xlib/xm_surface.c +++ b/src/mesa/pipe/xlib/xm_surface.c @@ -236,12 +236,12 @@ xmesa_clear(struct pipe_context *pipe, struct pipe_surface *ps, GLuint value) if (xrb && xrb->ximage) { /* clearing back color buffer */ GET_CURRENT_CONTEXT(ctx); - xmesa_clear_buffers(ctx, BUFFER_BIT_BACK_LEFT); + xmesa_clear_buffers(ctx, BUFFER_BIT_BACK_LEFT, value); } else if (xrb && xrb->pixmap) { /* clearing front color buffer */ GET_CURRENT_CONTEXT(ctx); - xmesa_clear_buffers(ctx, BUFFER_BIT_FRONT_LEFT); + xmesa_clear_buffers(ctx, BUFFER_BIT_FRONT_LEFT, value); } else { /* clearing other buffer */ |