summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@vmware.com>2010-09-13 23:02:37 -0700
committerVinson Lee <vlee@vmware.com>2010-09-13 23:02:37 -0700
commit4f2f02b7d6b0e687cc5d775d00662c309cc20da7 (patch)
treefa573916eeaeed01a2d257e80767130557f97464
parentfbc7c9b7a9d9df979ea82136d2b74121e5d4346e (diff)
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
-rw-r--r--src/gallium/drivers/rbug/rbug_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/rbug/rbug_screen.c b/src/gallium/drivers/rbug/rbug_screen.c
index 42555ab331..961df482c2 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;