diff options
author | Brian Paul <[email protected]> | 2002-02-02 21:40:33 +0000 |
---|---|---|
committer | Brian Paul <[email protected]> | 2002-02-02 21:40:33 +0000 |
commit | b37a084357dd08573b86d6d8c5ba43d65bdc1bd7 (patch) | |
tree | e9b71cecbc7500a5c6144c79cda6ac2a7a7e3558 /src/mesa/swrast/s_context.c | |
parent | 733a4b602bbbfda83ee03b7ae4f3737bbe659034 (diff) |
Converted line drawing over to new span code, pb no longer used.
Big clean-up of line drawing code.
Removed many obsolete span processing functions.
Diffstat (limited to 'src/mesa/swrast/s_context.c')
-rw-r--r-- | src/mesa/swrast/s_context.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/mesa/swrast/s_context.c b/src/mesa/swrast/s_context.c index b9b7a87f977..e10f8a3bb3d 100644 --- a/src/mesa/swrast/s_context.c +++ b/src/mesa/swrast/s_context.c @@ -1,4 +1,4 @@ -/* $Id: s_context.c,v 1.28 2002/02/02 17:24:11 brianp Exp $ */ +/* $Id: s_context.c,v 1.29 2002/02/02 21:40:33 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -31,7 +31,7 @@ #include "mtypes.h" #include "mem.h" -#include "s_pb.h" +#include "swrast.h" #include "s_points.h" #include "s_lines.h" #include "s_triangle.h" @@ -467,12 +467,6 @@ _swrast_CreateContext( GLcontext *ctx ) if (!swrast) return GL_FALSE; - swrast->PB = _mesa_alloc_pb(); - if (!swrast->PB) { - FREE(swrast); - return GL_FALSE; - } - swrast->NewState = ~0; swrast->choose_point = _swrast_choose_point; @@ -513,7 +507,6 @@ _swrast_DestroyContext( GLcontext *ctx ) fprintf(stderr, "_swrast_DestroyContext\n"); } - FREE( swrast->PB ); FREE( swrast ); ctx->swrast_context = 0; @@ -561,3 +554,10 @@ _swrast_print_vertex( GLcontext *ctx, const SWvertex *v ) fprintf(stderr, "\n"); } } + + +void +_swrast_flush( GLcontext *ctx ) +{ + /* no-op */ +} |