From: Brian Paul Date: Thu, 9 Nov 2017 05:09:59 +0000 (-0700) Subject: mesa: s/GLint/gl_buffer_index/ for _ColorReadBufferIndex X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=366453f4d36e75bb4d8ec66feb5db7c92c748739;p=mesa.git mesa: s/GLint/gl_buffer_index/ for _ColorReadBufferIndex BUFFER_NONE is -1 so no reason for GLint. Reviewed-by: Charmaine Lee --- 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;