From 733a4b602bbbfda83ee03b7ae4f3737bbe659034 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Sat, 2 Feb 2002 17:24:11 +0000 Subject: sw_span can now hold x/y arrays of fragment positions - getting ready to ditch the pb (pixel buffer) code. Converted point drawing, bitmaps and aa lines to use new span functions. --- src/mesa/swrast/s_zoom.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/mesa/swrast/s_zoom.c') diff --git a/src/mesa/swrast/s_zoom.c b/src/mesa/swrast/s_zoom.c index 7a696256a6..b4586c1a45 100644 --- a/src/mesa/swrast/s_zoom.c +++ b/src/mesa/swrast/s_zoom.c @@ -1,4 +1,4 @@ -/* $Id: s_zoom.c,v 1.12 2002/01/31 00:27:43 brianp Exp $ */ +/* $Id: s_zoom.c,v 1.13 2002/02/02 17:24:11 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -53,6 +53,9 @@ zoom_span( GLcontext *ctx, const struct sw_span *span, const GLchan (*rgb)[3] = (const GLchan (*)[3]) src; const GLuint *indexes = (const GLuint *) src; + /* no pixel arrays! */ + ASSERT((span->arrayMask & SPAN_XY) == 0); + INIT_SPAN(zoomed); if (format == GL_RGBA || format == GL_RGB) { zoomed.z = span->z; -- cgit v1.2.3