rbug: Fix 'assignment from incompatible pointer type' warning.
authorVinson Lee <vlee@vmware.com>
Tue, 14 Sep 2010 06:02:37 +0000 (23:02 -0700)
committerVinson Lee <vlee@vmware.com>
Tue, 14 Sep 2010 06:02:37 +0000 (23:02 -0700)
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

index 42555ab3310ee2a68a71f0ec59eefdf48061741e..961df482c29ca4a60af2d3dd63c2fab06b594063 100644 (file)
@@ -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;