mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-01 04:40:22 +01:00
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:
parent
665a4d9d9b
commit
1e414faa5e
1 changed files with 4 additions and 0 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue