From: Emil Velikov Date: Wed, 14 May 2014 17:48:49 +0000 (+0100) Subject: target-helpers: add a note about debug wrappers X-Git-Tag: upstream/10.3~1446 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1e414faa5edaafcdb1b90f8ddefa6aad77386d4d;p=platform%2Fupstream%2Fmesa.git target-helpers: add a note about debug wrappers If memory serves me right, at least one debug wrapper does not return the base screen on failure. Signed-off-by: Emil Velikov --- diff --git a/src/gallium/auxiliary/target-helpers/inline_debug_helper.h b/src/gallium/auxiliary/target-helpers/inline_debug_helper.h index 77c7cfd..6fe667d 100644 --- a/src/gallium/auxiliary/target-helpers/inline_debug_helper.h +++ b/src/gallium/auxiliary/target-helpers/inline_debug_helper.h @@ -26,6 +26,10 @@ #include "noop/noop_public.h" #endif +/* + * TODO: Audit the following *screen_create() - all of + * them should return the original screen on failuire. + */ static INLINE struct pipe_screen * debug_screen_wrap(struct pipe_screen *screen) {