From 366453f4d36e75bb4d8ec66feb5db7c92c748739 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Wed, 8 Nov 2017 22:09:59 -0700 Subject: [PATCH] mesa: s/GLint/gl_buffer_index/ for _ColorReadBufferIndex BUFFER_NONE is -1 so no reason for GLint. Reviewed-by: Charmaine Lee --- src/mesa/main/mtypes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.30.2