From 5a437d588975ec0e241a2bf7cc4ce3785cb476bd Mon Sep 17 00:00:00 2001 From: Keith Whitwell Date: Sun, 19 Sep 1999 23:43:02 +0000 Subject: Cleaning up --- src/mesa/main/depth.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mesa/main/depth.c') diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c index 7ac2be01da..7fac718492 100644 --- a/src/mesa/main/depth.c +++ b/src/mesa/main/depth.c @@ -1,4 +1,4 @@ -/* $Id: depth.c,v 1.2 1999/09/10 14:24:35 keithw Exp $ */ +/* $Id: depth.c,v 1.3 1999/09/19 23:43:02 keithw Exp $ */ /* * Mesa 3-D graphics library @@ -817,6 +817,7 @@ void gl_alloc_depth_buffer( GLcontext* ctx ) if (!ctx->Buffer->Depth) { /* out of memory */ ctx->Depth.Test = GL_FALSE; + ctx->NewState |= NEW_RASTER_OPS; gl_error( ctx, GL_OUT_OF_MEMORY, "Couldn't allocate depth buffer" ); } } -- cgit v1.2.3