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 ab420fb..ad54a7a 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 e1f73ae..0531c12 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,