mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 17:20:21 +01:00
gallium/trace: remove useless NULL check from trace_screen_create()
Currently every target makes sure that the screen is non-null prior to using the debug (trace including) wrappers. If that no longer holds true we want to know and fix this ASAP rather than silently bailing out. Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com> Acked-by: Rob Clark <robclark@freedesktop.org>
This commit is contained in:
parent
e762a46a07
commit
c751d33a20
1 changed files with 0 additions and 3 deletions
|
|
@ -456,9 +456,6 @@ trace_screen_create(struct pipe_screen *screen)
|
|||
{
|
||||
struct trace_screen *tr_scr;
|
||||
|
||||
if(!screen)
|
||||
goto error1;
|
||||
|
||||
if (!trace_enabled())
|
||||
goto error1;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue