diff options
author | Brian Paul <brian.paul@tungstengraphics.com> | 2001-12-14 02:50:01 +0000 |
---|---|---|
committer | Brian Paul <brian.paul@tungstengraphics.com> | 2001-12-14 02:50:01 +0000 |
commit | 86b842790b720cd6b1499ce8edca8a4e9c8dc029 (patch) | |
tree | abb453fefb2beb047768c7077edc449f1d58fcef /src/mesa/main/dlist.c | |
parent | 680522f74c8b7bf982eab1bc127269521c48a632 (diff) | |
download | external_mesa3d-86b842790b720cd6b1499ce8edca8a4e9c8dc029.zip external_mesa3d-86b842790b720cd6b1499ce8edca8a4e9c8dc029.tar.gz external_mesa3d-86b842790b720cd6b1499ce8edca8a4e9c8dc029.tar.bz2 |
vertex program check-in
Diffstat (limited to 'src/mesa/main/dlist.c')
-rw-r--r-- | src/mesa/main/dlist.c | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/mesa/main/dlist.c b/src/mesa/main/dlist.c index 050373a..bb2c68d 100644 --- a/src/mesa/main/dlist.c +++ b/src/mesa/main/dlist.c @@ -1,4 +1,4 @@ -/* $Id: dlist.c,v 1.80 2001/12/13 19:58:20 kschultz Exp $ */ +/* $Id: dlist.c,v 1.81 2001/12/14 02:50:01 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -4049,6 +4049,21 @@ _mesa_save_error( GLcontext *ctx, GLenum error, const char *s ) } +/* + * Compile an error into current display list. + */ +void +_mesa_compile_error( GLcontext *ctx, GLenum error, const char *s ) +{ + if (ctx->CompileFlag) + _mesa_save_error( ctx, error, s ); + + if (ctx->ExecuteFlag) + _mesa_error( ctx, error, s ); +} + + + static GLboolean islist(GLcontext *ctx, GLuint list) { |