dri: remove old assertion (see bug 26734)
(cherry picked from commit 293f4d51b473783d5c5ab773a1c438e0a2fe46f2)
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user