dri: remove old assertion (see bug 26734)
authorBrian Paul <brianp@vmware.com>
Wed, 24 Feb 2010 21:06:52 +0000 (14:06 -0700)
committerBrian Paul <brianp@vmware.com>
Wed, 24 Feb 2010 21:06:52 +0000 (14:06 -0700)
(cherry picked from commit 293f4d51b473783d5c5ab773a1c438e0a2fe46f2)

src/mesa/drivers/dri/common/drirenderbuffer.c

index 48a2c66229765ae626e165f013722fc93772081e..c9ce6e3cb64a3affe27c433784cf9b64c15785b0 100644 (file)
@@ -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);