diff options
author | Keith Whitwell <[email protected]> | 1999-09-19 23:43:02 +0000 |
---|---|---|
committer | Keith Whitwell <[email protected]> | 1999-09-19 23:43:02 +0000 |
commit | 5a437d588975ec0e241a2bf7cc4ce3785cb476bd (patch) | |
tree | e6cf1e6822ddd7cc4781ae7871d7fe8072e8ab9d /src/mesa/main/depth.c | |
parent | c6569511103235fd29a89ea6dd0c21913805b1d2 (diff) |
Cleaning up
Diffstat (limited to 'src/mesa/main/depth.c')
-rw-r--r-- | src/mesa/main/depth.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/main/depth.c b/src/mesa/main/depth.c index 7ac2be01da0..7fac7184923 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" ); } } |