From: Brian Date: Tue, 14 Aug 2007 21:42:40 +0000 (-0600) Subject: added glCopyPixels stub X-Git-Tag: 062012170305~17580^2~390^2~4321 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=267052c735f25dda7b49ded7b46cc59cb84ecaaa;p=profile%2Fivi%2Fmesa.git added glCopyPixels stub --- diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index 7a89e85..df0b144 100644 --- a/src/mesa/state_tracker/st_cb_drawpixels.c +++ b/src/mesa/state_tracker/st_cb_drawpixels.c @@ -485,9 +485,23 @@ st_Bitmap(GLcontext *ctx, GLint x, GLint y, GLsizei width, GLsizei height, } +static void +st_CopyPixels(GLcontext *ctx, GLint srcx, GLint srcy, + GLsizei width, GLsizei height, + GLint dstx, GLint dsty, GLenum type) +{ + struct st_context *st = ctx->st; + + st_validate_state(st); + + /* XXX to do */ +} + + void st_init_drawpixels_functions(struct dd_function_table *functions) { functions->DrawPixels = st_DrawPixels; + functions->CopyPixels = st_CopyPixels; functions->Bitmap = st_Bitmap; }