aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2010-02-24 14:06:52 -0700
committerBrian Paul <[email protected]>2010-02-24 14:06:52 -0700
commitf393d95ff2de0a87d188099f97bf6cc781ae9e54 (patch)
tree66f2ebf54bd02bbdde392bbf31ca6e7d725b0155 /src
parent5046f2c1950c44129f6098a7aae14dd50ee1f8a4 (diff)
dri: remove old assertion (see bug 26734)
(cherry picked from commit 293f4d51b473783d5c5ab773a1c438e0a2fe46f2)
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/common/drirenderbuffer.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/mesa/drivers/dri/common/drirenderbuffer.c b/src/mesa/drivers/dri/common/drirenderbuffer.c
index 48a2c662297..c9ce6e3cb64 100644
--- a/src/mesa/drivers/dri/common/drirenderbuffer.c
+++ b/src/mesa/drivers/dri/common/drirenderbuffer.c
@@ -59,14 +59,6 @@ driNewRenderbuffer(gl_format format, GLvoid *addr,
{
driRenderbuffer *drb;
- assert(format == GL_RGBA ||
- format == GL_RGB5 ||
- format == GL_RGBA8 ||
- format == GL_DEPTH_COMPONENT16 ||
- format == GL_DEPTH_COMPONENT24 ||
- format == GL_DEPTH_COMPONENT32 ||
- format == GL_STENCIL_INDEX8_EXT);
-
assert(cpp > 0);
assert(pitch > 0);