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

src/gallium/drivers/identity/id_screen.c

index c46d7457fcda7de8cb5273e55bf21aa5fb2ad20e..5fb464b4148837370954788c1aba7f31a0b41168 100644 (file)
@@ -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;