mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-18 03:50:36 +02:00
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>
This commit is contained in:
parent
64ce3933f5
commit
d27ff8c5cd
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@ st_feedback_draw_vbo(struct gl_context *ctx,
|
|||
|
||||
/* Internal function:
|
||||
*/
|
||||
extern GLuint
|
||||
extern enum pipe_format
|
||||
st_pipe_vertex_format(GLenum type, GLuint size, GLenum format,
|
||||
GLboolean normalized);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue