diff options
author | Brian Paul <[email protected]> | 2008-06-23 09:07:56 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2008-06-23 09:07:56 -0600 |
commit | 81b1a4224de1992d25ada006f54ff9147aa82da3 (patch) | |
tree | a52d806d55b8f39e4877eae55e3b6d81e685ccc8 /src/mesa/state_tracker | |
parent | e14126ec811e4f37cf085be27cac4f750d9e011a (diff) |
gallium: remove dead/prototype code
Diffstat (limited to 'src/mesa/state_tracker')
-rw-r--r-- | src/mesa/state_tracker/st_cb_texture.c | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/src/mesa/state_tracker/st_cb_texture.c b/src/mesa/state_tracker/st_cb_texture.c index ed65f3b0aad..40d56c5edd0 100644 --- a/src/mesa/state_tracker/st_cb_texture.c +++ b/src/mesa/state_tracker/st_cb_texture.c @@ -1188,27 +1188,6 @@ do_copy_texsubimage(GLcontext *ctx, if (ctx->_ImageTransferState == 0x0) { /* do blit-style copy */ - - /* XXX may need to invert image depending on window - * vs. user-created FBO - */ - -#if 0 - /* A bit of fiddling to get the blitter to work with -ve - * pitches. But we get a nice inverted blit this way, so it's - * worth it: - */ - intelEmitCopyBlit(intel, - stImage->pt->cpp, - -src->pitch, - src->buffer, - src->height * src->pitch * src->cpp, - stImage->pt->pitch, - stImage->pt->region->buffer, - dest_offset, - x, y + height, dstx, dsty, width, height, - GL_COPY); /* ? */ -#else struct pipe_surface *dest_surface; dest_surface = screen->get_tex_surface(screen, stImage->pt, stImage->face, @@ -1246,7 +1225,6 @@ do_copy_texsubimage(GLcontext *ctx, } pipe_surface_reference(&dest_surface, NULL); -#endif } if (use_fallback) { |