Jason Ekstrand <ja...@jlekstrand.net> writes:

> -   }
> +   if (_mesa_meta_pbo_GetTexSubImage(ctx, 3, texImage, 0, 0, 0,
> +                                     texImage->Width, texImage->Height,
> +                                     texImage->Depth, format, type,
> +                                     pixels, &ctx->Pack))
> +      return;
> +   else
> +      perf_debug("%s: fallback to CPU mapping in PBO case\n", __FUNCTION__);

I think this perf_debug message should be guarded with
if (_mesa_is_bufferobj) too.
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to