diff options
author | Brian Paul <[email protected]> | 2016-02-23 13:24:11 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2016-02-24 08:31:28 -0700 |
commit | c8fdb42c9138a1b510b4cbf768832a09f6398f96 (patch) | |
tree | eb232a43349aefe0676a159a69ad920a5685ebcf /src/mesa/main/buffers.h | |
parent | 363019e17a4d5b967ca973d2927a6d2d7a67514f (diff) |
mesa: use gl_buffer_index in a few places
Reviewed-by: Rob Clark <[email protected]>
Reviewed-by: Roland Scheidegger <[email protected]>
Diffstat (limited to 'src/mesa/main/buffers.h')
-rw-r--r-- | src/mesa/main/buffers.h | 3 |
1 files changed, 2 insertions, 1 deletions
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); |