diff options
author | Brian <brian.paul@tungstengraphics.com> | 2007-08-14 15:42:40 -0600 |
---|---|---|
committer | Brian <brian.paul@tungstengraphics.com> | 2007-08-14 15:42:40 -0600 |
commit | 267052c735f25dda7b49ded7b46cc59cb84ecaaa (patch) | |
tree | 052f0df0303a65ceff1d38f9be2eafae969f222b /src | |
parent | b7316e4732e6930c118c7034166b47bd096a0046 (diff) |
added glCopyPixels stub
Diffstat (limited to 'src')
-rw-r--r-- | src/mesa/state_tracker/st_cb_drawpixels.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_cb_drawpixels.c b/src/mesa/state_tracker/st_cb_drawpixels.c index 7a89e853ee..df0b14463b 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; } |