From c8fdb42c9138a1b510b4cbf768832a09f6398f96 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 23 Feb 2016 13:24:11 -0700 Subject: mesa: use gl_buffer_index in a few places Reviewed-by: Rob Clark Reviewed-by: Roland Scheidegger --- src/mesa/main/buffers.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/buffers.h') diff --git a/src/mesa/main/buffers.h b/src/mesa/main/buffers.h index 5aa79fda54b..c30cb755cd6 100644 --- a/src/mesa/main/buffers.h +++ b/src/mesa/main/buffers.h @@ -34,6 +34,7 @@ #include "glheader.h" +#include "mtypes.h" struct gl_context; struct gl_framebuffer; @@ -66,7 +67,7 @@ _mesa_drawbuffers(struct gl_context *ctx, struct gl_framebuffer *fb, extern void _mesa_readbuffer(struct gl_context *ctx, struct gl_framebuffer *fb, - GLenum buffer, GLint bufferIndex); + GLenum buffer, gl_buffer_index bufferIndex); extern void _mesa_update_draw_buffers(struct gl_context *ctx); -- cgit v1.2.3