Logo Search packages:      
Sourcecode: blender version File versions

void IMB_freezbufImBuf ( struct ImBuf ibuf  ) 

Attention:
Defined in allocimbuf.c

Definition at line 91 of file allocimbuf.c.

References IMB_freezbufImBuf(), ImBuf::mall, and ImBuf::zbuf.

Referenced by addzbufImBuf(), IMB_freeImBuf(), and IMB_freezbufImBuf().

{
      if (ibuf==0) return;
      if (ibuf->zbuf){
            if (ibuf->mall & IB_zbuf) free(ibuf->zbuf);
      }
      ibuf->zbuf=0;
      ibuf->mall &= ~IB_zbuf;
}


Generated by  Doxygen 1.6.0   Back to index