summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorCourtney Goeltzenleuchter <[email protected]>2013-10-30 15:58:30 -0600
committerKenneth Graunke <[email protected]>2013-11-05 17:59:38 -0800
commite3854fe194021e61eff70c614550bbfc79d2b22e (patch)
tree70ca467a6fd508ac357952b5391a14aedf64000f /src
parentff337bc80069c74c6ad5d4ce84cd2029282d9e93 (diff)
i965: Fix compiler warning.
fix: intel_screen.c:1320:4: warning: initialization from incompatible pointer type [enabled by default] Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.c2
-rw-r--r--src/mesa/drivers/dri/i965/brw_context.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.c b/src/mesa/drivers/dri/i965/brw_context.c
index ab420fbfe20..ad54a7accfd 100644
--- a/src/mesa/drivers/dri/i965/brw_context.c
+++ b/src/mesa/drivers/dri/i965/brw_context.c
@@ -552,7 +552,7 @@ brw_process_driconf_options(struct brw_context *brw)
driQueryOptionb(options, "disable_glsl_line_continuations");
}
-bool
+GLboolean
brwCreateContext(gl_api api,
const struct gl_config *mesaVis,
__DRIcontext *driContextPriv,
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h
index e1f73ae8bbb..0531c12faad 100644
--- a/src/mesa/drivers/dri/i965/brw_context.h
+++ b/src/mesa/drivers/dri/i965/brw_context.h
@@ -1475,7 +1475,7 @@ void intel_prepare_render(struct brw_context *brw);
void intel_resolve_for_dri2_flush(struct brw_context *brw,
__DRIdrawable *drawable);
-bool brwCreateContext(gl_api api,
+GLboolean brwCreateContext(gl_api api,
const struct gl_config *mesaVis,
__DRIcontext *driContextPriv,
unsigned major_version,