mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 20:38:06 +02:00
dri: remove old assertion (see bug 26734)
(cherry picked from commit 293f4d51b4)
This commit is contained in:
parent
5046f2c195
commit
f393d95ff2
1 changed files with 0 additions and 8 deletions
|
|
@ -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);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue