mesa/st: Make st_pipe_vertex_format static.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Signed-off-by: Mathias Fröhlich <Mathias.Froehlich@web.de>
This commit is contained in:
Mathias Fröhlich
2018-11-01 19:03:26 +01:00
committed by Mathias Fröhlich
parent 2a3eae82a1
commit ff466c2d48
2 changed files with 1 additions and 4 deletions
-3
View File
@@ -58,9 +58,6 @@ void st_destroy_atoms( struct st_context *st );
void st_validate_state( struct st_context *st, enum st_pipeline pipeline );
GLuint st_compare_func_to_pipe(GLenum func);
enum pipe_format
st_pipe_vertex_format(const struct gl_vertex_format *glformat);
void
st_setup_arrays(struct st_context *st,
const struct st_vertex_program *vp,
+1 -1
View File
@@ -237,7 +237,7 @@ static const uint16_t vertex_formats[][4][4] = {
/**
* Return a PIPE_FORMAT_x for the given GL datatype and size.
*/
enum pipe_format
static enum pipe_format
st_pipe_vertex_format(const struct gl_vertex_format *vformat)
{
const GLubyte size = vformat->Size;