From 94186db527b33b2623eb26a7f1ae0c4c0fca66a4 Mon Sep 17 00:00:00 2001 From: Zhigang Gong Date: Mon, 26 Mar 2012 19:03:20 +0800 Subject: [PATCH] glamor_fill: Should restore alu to GXcopy. Signed-off-by: Zhigang Gong --- glamor/glamor_fill.c | 1 + 1 file changed, 1 insertion(+) diff --git a/glamor/glamor_fill.c b/glamor/glamor_fill.c index 85733099b..e8419c633 100644 --- a/glamor/glamor_fill.c +++ b/glamor/glamor_fill.c @@ -206,6 +206,7 @@ glamor_solid(PixmapPtr pixmap, int x, int y, int width, int height, dispatch->glDrawArrays(GL_TRIANGLE_FAN, 0, 4); dispatch->glDisableVertexAttribArray(GLAMOR_VERTEX_POS); dispatch->glUseProgram(0); + glamor_set_alu(dispatch, GXcopy); glamor_put_dispatch(glamor_priv); return TRUE; }