mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
st/mesa: make st_draw_vbo static
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
This commit is contained in:
parent
740ef228f7
commit
f60f14bdb3
3 changed files with 2 additions and 14 deletions
|
|
@ -282,7 +282,7 @@ st_RenderMode(struct gl_context *ctx, GLenum newMode )
|
|||
|
||||
if (newMode == GL_RENDER) {
|
||||
/* restore normal VBO draw function */
|
||||
vbo_set_draw_func(ctx, st_draw_vbo);
|
||||
st_init_draw(st);
|
||||
}
|
||||
else if (newMode == GL_SELECT) {
|
||||
if (!st->selection_stage)
|
||||
|
|
|
|||
|
|
@ -130,7 +130,7 @@ translate_prim(const struct gl_context *ctx, unsigned prim)
|
|||
* we have something to render.
|
||||
* Basically, translate the information into the format expected by gallium.
|
||||
*/
|
||||
void
|
||||
static void
|
||||
st_draw_vbo(struct gl_context *ctx,
|
||||
const struct _mesa_prim *prims,
|
||||
GLuint nr_prims,
|
||||
|
|
|
|||
|
|
@ -49,18 +49,6 @@ void st_destroy_draw( struct st_context *st );
|
|||
|
||||
struct draw_context *st_get_draw_context(struct st_context *st);
|
||||
|
||||
extern void
|
||||
st_draw_vbo(struct gl_context *ctx,
|
||||
const struct _mesa_prim *prims,
|
||||
GLuint nr_prims,
|
||||
const struct _mesa_index_buffer *ib,
|
||||
GLboolean index_bounds_valid,
|
||||
GLuint min_index,
|
||||
GLuint max_index,
|
||||
struct gl_transform_feedback_object *tfb_vertcount,
|
||||
unsigned stream,
|
||||
struct gl_buffer_object *indirect);
|
||||
|
||||
extern void
|
||||
st_feedback_draw_vbo(struct gl_context *ctx,
|
||||
const struct _mesa_prim *prims,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue