libobs-opengl: Make update_buffer data param const

This commit is contained in:
jp9000
2017-11-27 02:19:02 -08:00
parent 9fce162137
commit 4583dcbd4d
2 changed files with 2 additions and 2 deletions

View File

@@ -157,5 +157,5 @@ extern bool gl_copy_texture(struct gs_device *device,
extern bool gl_create_buffer(GLenum target, GLuint *buffer, GLsizeiptr size,
const GLvoid *data, GLenum usage);
extern bool update_buffer(GLenum target, GLuint buffer, void *data,
extern bool update_buffer(GLenum target, GLuint buffer, const void *data,
size_t size);