Mesa (master): gallium/hud: fix the windows build by disabling file dumping
Marek Olšák
mareko at kemper.freedesktop.org
Mon Jan 2 22:18:44 UTC 2017
Module: Mesa
Branch: master
Commit: cb6f49a902cae1b4df795c0e611526dca467a042
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb6f49a902cae1b4df795c0e611526dca467a042
Author: Marek Olšák <marek.olsak at amd.com>
Date: Mon Jan 2 23:16:48 2017 +0100
gallium/hud: fix the windows build by disabling file dumping
---
src/gallium/auxiliary/hud/hud_context.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c
index 779c116..f2f503d 100644
--- a/src/gallium/auxiliary/hud/hud_context.c
+++ b/src/gallium/auxiliary/hud/hud_context.c
@@ -868,6 +868,7 @@ hud_graph_destroy(struct hud_graph *graph)
void
hud_graph_set_dump_file(struct hud_graph *gr)
{
+#ifndef PIPE_OS_WINDOWS
const char *hud_dump_dir = getenv("GALLIUM_HUD_DUMP_DIR");
char *dump_file;
@@ -880,6 +881,7 @@ hud_graph_set_dump_file(struct hud_graph *gr)
free(dump_file);
}
}
+#endif
}
/**
More information about the mesa-commit
mailing list