Skip to content
  • maurossi's avatar
    nouveau/video: wrap assertion within #ifndef NDEBUG · 6711592c
    maurossi authored and Ilia Mirkin's avatar Ilia Mirkin committed
    
    
    The change is necessary to avoid the following building error in android:
    
    external/mesa/src/gallium/drivers/nouveau/nouveau_vp3_video_bsp.c: In function 'nouveau_vp3_bsp_next':
    external/mesa/src/gallium/drivers/nouveau/nouveau_vp3_video_bsp.c:269:14: error: 'bsp_bo' undeclared (first use in this function)
           assert(bsp_bo->size >= str_bsp->w0[0] + num_bytes[i]);
                  ^
    This matches the declaration of the variables in question.
    
    Reviewed-by: default avatarIlia Mirkin <imirkin@alum.mit.edu>
    6711592c