summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_framebuffer.c
diff options
context:
space:
mode:
authorBrian <[email protected]>2007-12-07 07:53:21 -0700
committerBrian <[email protected]>2007-12-07 07:53:21 -0700
commitf77ce9e4fa6430fd6f4aaf07c58ed12569dec481 (patch)
treecf745629d87536a6b814017a5c79b2231bf58f03 /src/mesa/state_tracker/st_framebuffer.c
parentee6b39cfe602bd88a88bedc5af672832d9157105 (diff)
added ST_SURFACE_DEPTH
Diffstat (limited to 'src/mesa/state_tracker/st_framebuffer.c')
-rw-r--r--src/mesa/state_tracker/st_framebuffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/state_tracker/st_framebuffer.c b/src/mesa/state_tracker/st_framebuffer.c
index 4ae2837f0a0..8633f431b29 100644
--- a/src/mesa/state_tracker/st_framebuffer.c
+++ b/src/mesa/state_tracker/st_framebuffer.c
@@ -155,7 +155,7 @@ st_get_framebuffer_surface(struct st_framebuffer *stfb, uint surfIndex)
{
struct st_renderbuffer *strb;
- assert(surfIndex <= ST_SURFACE_BACK_RIGHT);
+ assert(surfIndex <= ST_SURFACE_DEPTH);
/* sanity checks, ST tokens should match Mesa tokens */
assert(ST_SURFACE_FRONT_LEFT == BUFFER_FRONT_LEFT);