From 7e548d05076c430f9c532add478080bea82515ba Mon Sep 17 00:00:00 2001 From: Marek Olšák Date: Mon, 27 Jan 2014 21:15:19 +0100 Subject: mesa: add storage flags parameter to Driver.BufferData MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It will be used by glBufferStorage. The parameters are chosen according to ARB_buffer_storage. Reviewed-by: Fredrik Höglund --- src/mesa/main/dd.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa/main/dd.h') diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h index b444b4cf504..f1ba6000d02 100644 --- a/src/mesa/main/dd.h +++ b/src/mesa/main/dd.h @@ -578,7 +578,7 @@ struct dd_function_table { GLboolean (*BufferData)(struct gl_context *ctx, GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage, - struct gl_buffer_object *obj); + GLenum storageFlags, struct gl_buffer_object *obj); void (*BufferSubData)( struct gl_context *ctx, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data, -- cgit v1.2.3