i965: Fix compiler warning.

fix: intel_screen.c:1320:4: warning: initialization from
incompatible pointer type [enabled by default]

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
Courtney Goeltzenleuchter 2013-10-30 15:58:30 -06:00 committed by Kenneth Graunke
parent ff337bc800
commit e3854fe194
2 changed files with 2 additions and 2 deletions

View 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,

View 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,