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
|
@ -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…
Reference in New Issue