diff options
author | Brian <[email protected]> | 2008-03-21 14:19:28 -0600 |
---|---|---|
committer | Brian <[email protected]> | 2008-03-21 14:19:28 -0600 |
commit | d933be6baf98624c609d422a9b083a08f67e8bdb (patch) | |
tree | d262e8c7962f6105f44bb6f6b5cb4e05f412bd9e /src/mesa/swrast/s_drawpix.c | |
parent | 3c9862d337244e305dc39bdd0a48e254c9766ec8 (diff) |
Refactor PBO validate/map code.
We always need to do PBO validation, so do that in core Mesa before calling driver routine.
Diffstat (limited to 'src/mesa/swrast/s_drawpix.c')
-rw-r--r-- | src/mesa/swrast/s_drawpix.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/mesa/swrast/s_drawpix.c b/src/mesa/swrast/s_drawpix.c index 09ff96fd327..81f5caa2706 100644 --- a/src/mesa/swrast/s_drawpix.c +++ b/src/mesa/swrast/s_drawpix.c @@ -839,8 +839,7 @@ _swrast_DrawPixels( GLcontext *ctx, if (swrast->NewState) _swrast_validate_derived( ctx ); - pixels = _mesa_validate_and_map_drawpix_pbo(ctx, width, height, - format, type, unpack, pixels); + pixels = _mesa_map_drawpix_pbo(ctx, unpack, pixels); if (!pixels) return; |