gallium/hud: move file initialization to a function
authorEdmondo Tommasina <edmondo.tommasina@gmail.com>
Wed, 21 Dec 2016 21:58:11 +0000 (22:58 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sat, 31 Dec 2016 23:03:38 +0000 (00:03 +0100)
commit57f86fb3a8bde60e8c99a46fdccd0dc12377ffd2
tree55f119f87910eccdd626173b0e2f4d7f55330c76
parent22cd9040da75cac6e1c61b821e1ac6906ac4a8ac
gallium/hud: move file initialization to a function

The function will be used later to create the filedescriptor
for other metrics.

Signed-off-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/hud/hud_context.c
src/gallium/auxiliary/hud/hud_driver_query.c
src/gallium/auxiliary/hud/hud_private.h