diff options
author | Brian Paul <[email protected]> | 2017-11-08 22:09:59 -0700 |
---|---|---|
committer | Brian Paul <[email protected]> | 2017-11-09 14:13:59 -0700 |
commit | 366453f4d36e75bb4d8ec66feb5db7c92c748739 (patch) | |
tree | 0a77da0da361bff3381de345ba9e99ec22ff6cc2 | |
parent | 9862a8403e0e27ebadf86ef5e8b3ebc5a35cae45 (diff) |
mesa: s/GLint/gl_buffer_index/ for _ColorReadBufferIndex
BUFFER_NONE is -1 so no reason for GLint.
Reviewed-by: Charmaine Lee <[email protected]>
-rw-r--r-- | src/mesa/main/mtypes.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index af9115e8477..a8e2b39d40b 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -3484,7 +3484,7 @@ struct gl_framebuffer /** Computed from ColorDraw/ReadBuffer above */ GLuint _NumColorDrawBuffers; GLint _ColorDrawBufferIndexes[MAX_DRAW_BUFFERS]; /**< BUFFER_x or -1 */ - GLint _ColorReadBufferIndex; /* -1 = None */ + gl_buffer_index _ColorReadBufferIndex; struct gl_renderbuffer *_ColorDrawBuffers[MAX_DRAW_BUFFERS]; struct gl_renderbuffer *_ColorReadBuffer; |