i965: Fix compiler warning.
authorCourtney Goeltzenleuchter <courtney@lunarg.com>
Wed, 30 Oct 2013 21:58:30 +0000 (15:58 -0600)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 6 Nov 2013 01:59:38 +0000 (17:59 -0800)
fix: intel_screen.c:1320:4: warning: initialization from
incompatible pointer type [enabled by default]

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_context.c
src/mesa/drivers/dri/i965/brw_context.h

index ab420fbfe2008d128718044736c501a25080ad57..ad54a7accfdc7e2da463f0941a446bc856025a87 100644 (file)
@@ -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,
index e1f73ae8bbb77e2e28814417b3a5a2b53efdb0aa..0531c12faad09fadc409f9f5e364d186404c85ff 100644 (file)
@@ -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,