summaryrefslogtreecommitdiff
path: root/src/gallium/winsys/i915/drm/i915_drm_winsys.c
diff options
context:
space:
mode:
authorEmma Anholt <emma@anholt.net>2021-06-27 14:47:02 -0700
committerEmma Anholt <emma@anholt.net>2021-06-28 15:01:37 -0700
commitec646fdd45ca24638d61299982ff6ed6f9bda02f (patch)
tree1f6bd063e010847c679910fb8642ffdf272b30dc /src/gallium/winsys/i915/drm/i915_drm_winsys.c
parent247cee92df0eb12fe47881a50b58c892f9b1e8b8 (diff)
i915g: Use stdbool.h instead of custom bools.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/11617>
Diffstat (limited to 'src/gallium/winsys/i915/drm/i915_drm_winsys.c')
-rw-r--r--src/gallium/winsys/i915/drm/i915_drm_winsys.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/winsys/i915/drm/i915_drm_winsys.c b/src/gallium/winsys/i915/drm/i915_drm_winsys.c
index add8ff83e2b..3baccb48989 100644
--- a/src/gallium/winsys/i915/drm/i915_drm_winsys.c
+++ b/src/gallium/winsys/i915/drm/i915_drm_winsys.c
@@ -76,9 +76,9 @@ i915_drm_winsys_create(int drmFD)
drm_intel_bufmgr_gem_enable_reuse(idws->gem_manager);
drm_intel_bufmgr_gem_enable_fenced_relocs(idws->gem_manager);
- idws->dump_cmd = debug_get_bool_option("I915_DUMP_CMD", FALSE);
+ idws->dump_cmd = debug_get_bool_option("I915_DUMP_CMD", false);
idws->dump_raw_file = debug_get_option("I915_DUMP_RAW_FILE", NULL);
- idws->send_cmd = !debug_get_bool_option("I915_NO_HW", FALSE);
+ idws->send_cmd = !debug_get_bool_option("I915_NO_HW", false);
return &idws->base;
}