target-helpers: add a note about debug wrappers
authorEmil Velikov <emil.l.velikov@gmail.com>
Wed, 14 May 2014 17:48:49 +0000 (18:48 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Thu, 19 Jun 2014 11:37:15 +0000 (12:37 +0100)
If memory serves me right, at least one debug wrapper does
not return the base screen on failure.

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
src/gallium/auxiliary/target-helpers/inline_debug_helper.h

index 77c7cfd0c2054080af33e2c9b896544b16529070..6fe667d3fbd9f2a4fe51c1f3f4908bb1b2137585 100644 (file)
 #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)
 {