st/mesa: rename st_readpixels to st_ReadPixels
authorBrian Paul <brianp@vmware.com>
Tue, 23 Feb 2016 20:12:56 +0000 (13:12 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 24 Feb 2016 15:31:17 +0000 (08:31 -0700)
To match the convention of other device driver functions.

Reviewed-by: Rob Clark <robdclark@gmail.com>
Reviewed-by: Roland Scheidegger <sroland@vmware.com>
src/mesa/state_tracker/st_cb_readpixels.c

index 6dc2661b5240b2fdc04529684ede21c0f36c5cd0..5153c4bbba173d238b569c8643eff0016ad6f40c 100644 (file)
@@ -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;
 }