diff options
author | Ian Romanick <[email protected]> | 2015-11-02 20:11:02 -0800 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2015-11-24 11:31:29 -0800 |
commit | 3b5a7d450dea9bfadf1d72338f4418c87340805b (patch) | |
tree | 21e09e933af42955a1725b2f3d9b1bd0bfa43f5a /src/mesa/drivers/common/meta.h | |
parent | ed0bd6573b6ce83471e73d009dbab5220f9e80c0 (diff) |
meta: Don't leave the VBO bound after _mesa_meta_setup_vertex_objects
Meta currently does this, but future changes will make this impossible.
Explicitly do it as a step in the patch series now to catch any possible
kinks.
Signed-off-by: Ian Romanick <[email protected]>
Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/drivers/common/meta.h')
-rw-r--r-- | src/mesa/drivers/common/meta.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/mesa/drivers/common/meta.h b/src/mesa/drivers/common/meta.h index d4bf0b65524..48607d40e75 100644 --- a/src/mesa/drivers/common/meta.h +++ b/src/mesa/drivers/common/meta.h @@ -620,13 +620,15 @@ struct temp_texture * _mesa_meta_get_temp_depth_texture(struct gl_context *ctx); void -_mesa_meta_setup_vertex_objects(GLuint *VAO, GLuint *VBO, +_mesa_meta_setup_vertex_objects(struct gl_context *ctx, + GLuint *VAO, GLuint *VBO, bool use_generic_attributes, unsigned vertex_size, unsigned texcoord_size, unsigned color_size); void -_mesa_meta_setup_ff_tnl_for_blit(GLuint *VAO, GLuint *VBO, +_mesa_meta_setup_ff_tnl_for_blit(struct gl_context *ctx, + GLuint *VAO, GLuint *VBO, unsigned texcoord_size); void |