diff options
author | Brian <[email protected]> | 2007-07-03 08:58:03 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2007-07-03 08:58:03 -0600 |
commit | d7062710cd51d16dc9319b365d152edb225ad093 (patch) | |
tree | e366c8c59d8eaeefb487361e9256067cc860e06c /src/mesa | |
parent | 9bfba734d88ca5faf8db71ce6d10fb872a38339e (diff) |
use _mesa_unpack_stencil_span() in draw_stencil_pixels(), bug 11457
Diffstat (limited to 'src/mesa')
-rw-r--r-- | src/mesa/swrast/s_drawpix.c | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index cd5b7bc2935..4c9194e148f 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src/mesa/swrast/s_drawpix.c @@ -1,8 +1,8 @@ /* * Mesa 3-D graphics library - * Version: 6.5.2 + * Version: 7.0.1 * - * Copyright (C) 1999-2006 Brian Paul All Rights Reserved. + * Copyright (C) 1999-2007 Brian Paul All Rights Reserved. * * Permission is hereby granted, free of charge, to any person obtaining a * copy of this software and associated documentation files (the "Software"), @@ -406,10 +406,9 @@ draw_stencil_pixels( GLcontext *ctx, GLint x, GLint y, width, height, GL_COLOR_INDEX, type, row, skipPixels); - _mesa_unpack_index_span(ctx, spanWidth, destType, values, - type, source, unpack, - ctx->_ImageTransferState); - _mesa_apply_stencil_transfer_ops(ctx, spanWidth, values); + _mesa_unpack_stencil_span(ctx, spanWidth, destType, values, + type, source, unpack, + ctx->_ImageTransferState); if (zoom) { _swrast_write_zoomed_stencil_span(ctx, x, y, spanWidth, spanX, spanY, values); |