Re: [Mesa-dev] [PATCH] gallium/hud: set the dump file streams to line buffered

2017-04-05 Thread Edmondo Tommasina
On Wed, Apr 5, 2017 at 12:29 AM, Julien Isorce wrote: > I confirm it works, awesome! Thx! > Should you check that fopen succeeded ? because I think setvbuf would crash > otherwise. You are right. Thanks for the hint V2 coming after some testing. > That's said: > Tested-by: Julien Isorce Than

Re: [Mesa-dev] [PATCH] gallium/hud: set the dump file streams to line buffered

2017-04-04 Thread Julien Isorce
I confirm it works, awesome! Thx! Should you check that fopen succeeded ? because I think setvbuf would crash otherwise. That's said: Tested-by: Julien Isorce On 4 April 2017 at 21:52, Edmondo Tommasina wrote: > Flush the HUD value streams to the dump files after every newline. > --- > src/g

[Mesa-dev] [PATCH] gallium/hud: set the dump file streams to line buffered

2017-04-04 Thread Edmondo Tommasina
Flush the HUD value streams to the dump files after every newline. --- src/gallium/auxiliary/hud/hud_context.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c index 29ef9eee31..633e3650cc 100644 --- a/src/galliu