Przeglądaj źródła

i965: Remove useless null check.

If it were null, we'd have just derefernced it two lines above.
tags/10.6-branchpoint
Matt Turner 10 lat temu
rodzic
commit
ea0c35faf8
1 zmienionych plików z 0 dodań i 4 usunięć
  1. 0
    4
      src/mesa/drivers/dri/i965/brw_context.c

+ 0
- 4
src/mesa/drivers/dri/i965/brw_context.c Wyświetl plik

@@ -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);

Ładowanie…
Anuluj
Zapisz