From 4f2f02b7d6b0e687cc5d775d00662c309cc20da7 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Mon, 13 Sep 2010 23:02:37 -0700 Subject: rbug: Fix 'assignment from incompatible pointer type' warning. This is a follow-up to commit a508d2dddcc67d0f92cc36b9ed6f36a9bbfc579d. Fixes the following GCC warning. rbug_screen.c: In function 'rbug_screen_create': rbug_screen.c:331: warning: assignment from incompatible pointer type --- src/gallium/drivers/rbug/rbug_screen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gallium/drivers/rbug') diff --git a/src/gallium/drivers/rbug/rbug_screen.c b/src/gallium/drivers/rbug/rbug_screen.c index 42555ab3310..961df482c29 100644 --- a/src/gallium/drivers/rbug/rbug_screen.c +++ b/src/gallium/drivers/rbug/rbug_screen.c @@ -81,7 +81,7 @@ rbug_screen_get_param(struct pipe_screen *_screen, static int rbug_screen_get_shader_param(struct pipe_screen *_screen, - unsigned shader, enum pipe_cap param) + unsigned shader, enum pipe_shader_cap param) { struct rbug_screen *rb_screen = rbug_screen(_screen); struct pipe_screen *screen = rb_screen->screen; -- cgit v1.2.3