summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/rbug
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/rbug')
-rw-r--r--src/gallium/drivers/rbug/rbug_screen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/rbug/rbug_screen.c b/src/gallium/drivers/rbug/rbug_screen.c
index 7505dd750a5..b12f029b3ea 100644
--- a/src/gallium/drivers/rbug/rbug_screen.c
+++ b/src/gallium/drivers/rbug/rbug_screen.c
@@ -98,7 +98,8 @@ rbug_screen_get_param(struct pipe_screen *_screen,
static int
rbug_screen_get_shader_param(struct pipe_screen *_screen,
- unsigned shader, enum pipe_shader_cap param)
+ enum pipe_shader_type shader,
+ enum pipe_shader_cap param)
{
struct rbug_screen *rb_screen = rbug_screen(_screen);
struct pipe_screen *screen = rb_screen->screen;