From: Brian Paul Date: Tue, 23 Feb 2016 20:12:56 +0000 (-0700) Subject: st/mesa: rename st_readpixels to st_ReadPixels X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=953cb24e65b8c569cd484b78259ab9ba563326aa;p=mesa.git st/mesa: rename st_readpixels to st_ReadPixels To match the convention of other device driver functions. Reviewed-by: Rob Clark Reviewed-by: Roland Scheidegger --- diff --git a/src/mesa/state_tracker/st_cb_readpixels.c b/src/mesa/state_tracker/st_cb_readpixels.c index 6dc2661b524..5153c4bbba1 100644 --- a/src/mesa/state_tracker/st_cb_readpixels.c +++ b/src/mesa/state_tracker/st_cb_readpixels.c @@ -81,7 +81,7 @@ needs_integer_signed_unsigned_conversion(const struct gl_context *ctx, * we do here should be free in such cases. */ static void -st_readpixels(struct gl_context *ctx, GLint x, GLint y, +st_ReadPixels(struct gl_context *ctx, GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, const struct gl_pixelstore_attrib *pack, @@ -257,5 +257,5 @@ fallback: void st_init_readpixels_functions(struct dd_function_table *functions) { - functions->ReadPixels = st_readpixels; + functions->ReadPixels = st_ReadPixels; }