Make st_pipe_vertex_format return type in st_draw.h match st_draw.c
authorAlan Coopersmith <alan.coopersmith@oracle.com>
Fri, 8 Apr 2011 23:48:12 +0000 (16:48 -0700)
committerAlan Coopersmith <alan.coopersmith@oracle.com>
Sat, 9 Apr 2011 00:36:46 +0000 (17:36 -0700)
commitd27ff8c5cd22ac0279948d3df4b3384eef866cde
tree72433adc1f83f5d7cad33dd0cba319b849500124
parent64ce3933f59f71ac78d83b8b3db813b6d2619382
Make st_pipe_vertex_format return type in st_draw.h match st_draw.c

Fixes compiler error from Sun compilers:
"state_tracker/st_draw.c", line 185: identifier redeclared: st_pipe_vertex_format
        current : function(unsigned int, unsigned int, unsigned int, unsigned char) returning enum pipe_format
        previous: function(unsigned int, unsigned int, unsigned int, unsigned char) returning unsigned int : "state_tracker/st_draw.h", line 73

Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
src/mesa/state_tracker/st_draw.h