summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2000-11-21 23:00:22 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2000-11-21 23:00:22 +0000
commit75b470c14655a15e8ade911c0005b464811df359 (patch)
treede78fce5e33f0b46123cb60d2acaa7fe8a71da1b
parent142d00e32fc7fca84c832a607d09e71b2cf31d80 (diff)
added some RENDER_START/RENDER_FINISH macros, finished GetConvolutionFilter()
-rw-r--r--src/mesa/main/colortab.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/mesa/main/colortab.c b/src/mesa/main/colortab.c
index e796f1d8c8..56fc516f0a 100644
--- a/src/mesa/main/colortab.c
+++ b/src/mesa/main/colortab.c
@@ -1,4 +1,4 @@
-/* $Id: colortab.c,v 1.20.4.2 2000/11/21 17:50:23 brianp Exp $ */
+/* $Id: colortab.c,v 1.20.4.3 2000/11/21 23:00:22 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -626,7 +626,9 @@ _mesa_CopyColorTable(GLenum target, GLenum internalformat,
width = MAX_WIDTH;
/* read the data from framebuffer */
+ RENDER_START(ctx);
gl_read_rgba_span( ctx, ctx->ReadBuffer, width, x, y, data );
+ RENDER_FINISH(ctx);
/* Restore reading from draw buffer (the default) */
(*ctx->Driver.SetReadBuffer)( ctx, ctx->DrawBuffer,
@@ -655,7 +657,9 @@ _mesa_CopyColorSubTable(GLenum target, GLsizei start,
width = MAX_WIDTH;
/* read the data from framebuffer */
+ RENDER_START(ctx);
gl_read_rgba_span( ctx, ctx->ReadBuffer, width, x, y, data );
+ RENDER_FINISH(ctx);
/* Restore reading from draw buffer (the default) */
(*ctx->Driver.SetReadBuffer)( ctx, ctx->DrawBuffer,