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 <emil.l.velikov@gmail.com>
This commit is contained in:
Emil Velikov 2014-05-14 18:48:49 +01:00
parent 665a4d9d9b
commit 1e414faa5e

View file

@ -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)
{