mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 09:08:10 +02:00
i965: Remove useless null check.
If it were null, we'd have just derefernced it two lines above.
This commit is contained in:
parent
024ecc783b
commit
ea0c35faf8
1 changed files with 0 additions and 4 deletions
|
|
@ -925,10 +925,6 @@ intelDestroyContext(__DRIcontext * driContextPriv)
|
|||
(struct brw_context *) driContextPriv->driverPrivate;
|
||||
struct gl_context *ctx = &brw->ctx;
|
||||
|
||||
assert(brw); /* should never be null */
|
||||
if (!brw)
|
||||
return;
|
||||
|
||||
/* Dump a final BMP in case the application doesn't call SwapBuffers */
|
||||
if (INTEL_DEBUG & DEBUG_AUB) {
|
||||
intel_batchbuffer_flush(brw);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue