summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-09-13 23:23:34 -0700
committerVinson Lee <[email protected]>2010-09-13 23:23:34 -0700
commitc5867acb0d32124999f236c600480100dd7377fc (patch)
treea3c9caf42aafb8e340df7931caa73353180d1521
parent4f2f02b7d6b0e687cc5d775d00662c309cc20da7 (diff)
identity: Fix 'assignment from incompatible pointer type' warning.
This is a follow-up to commit a508d2dddcc67d0f92cc36b9ed6f36a9bbfc579d. Fixes the following GCC warning. id_screen.c: In function 'identity_screen_create': id_screen.c:317: warning: assignment from incompatible pointer type
-rw-r--r--src/gallium/drivers/identity/id_screen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/identity/id_screen.c b/src/gallium/drivers/identity/id_screen.c
index c46d7457fcd..5fb464b4148 100644
--- a/src/gallium/drivers/identity/id_screen.c
+++ b/src/gallium/drivers/identity/id_screen.c
@@ -67,7 +67,7 @@ identity_screen_get_vendor(struct pipe_screen *_screen)
static int
identity_screen_get_param(struct pipe_screen *_screen,
- unsigned shader, enum pipe_cap param)
+ enum pipe_cap param)
{
struct identity_screen *id_screen = identity_screen(_screen);
struct pipe_screen *screen = id_screen->screen;