aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2017-01-02 23:16:48 +0100
committerMarek Olšák <[email protected]>2017-01-02 23:18:28 +0100
commitcb6f49a902cae1b4df795c0e611526dca467a042 (patch)
tree0eae43e4fff9fbf944dca1aff08deb8627ce029a /src/gallium/auxiliary
parentbc7f1eddbdefaf8f6c094668d6218df61cb6113f (diff)
gallium/hud: fix the windows build by disabling file dumping
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/hud/hud_context.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/hud/hud_context.c b/src/gallium/auxiliary/hud/hud_context.c
index 779c11693c8..f2f503dab8f 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
}
/**