diff options
author | Emil Velikov <[email protected]> | 2014-05-14 18:48:49 +0100 |
---|---|---|
committer | Emil Velikov <[email protected]> | 2014-06-19 12:37:15 +0100 |
commit | 1e414faa5edaafcdb1b90f8ddefa6aad77386d4d (patch) | |
tree | db264a48e0dc5bd1e0315e17fef796b173ff0964 /src | |
parent | 665a4d9d9b883324dbe9ba7ff55c9cb8201bc6b3 (diff) |
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 <[email protected]>
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/auxiliary/target-helpers/inline_debug_helper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/target-helpers/inline_debug_helper.h b/src/gallium/auxiliary/target-helpers/inline_debug_helper.h index 77c7cfd0c20..6fe667d3fbd 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) { |