cogl-winsys-sdl: Fix the signature for the get_proc_address method

This function should take an extra third paramter to specify whether
the procedure is in core or not. The parameter is not used so this
patch just fixes an annoying warning.

Reviewed-by: Robert Bragg <robert@linux.intel.com>

(cherry picked from commit eed4ac80cd8c3fa1859493c9bb00547038be6095)
This commit is contained in:
Neil Roberts 2012-07-31 15:03:59 +01:00 committed by Robert Bragg
parent 59ff396875
commit 96b726b518

View File

@ -53,7 +53,8 @@ typedef struct _CoglDisplaySdl
static CoglFuncPtr static CoglFuncPtr
_cogl_winsys_renderer_get_proc_address (CoglRenderer *renderer, _cogl_winsys_renderer_get_proc_address (CoglRenderer *renderer,
const char *name) const char *name,
CoglBool in_core)
{ {
/* XXX: It's not totally clear whether it's safe to call this for /* XXX: It's not totally clear whether it's safe to call this for
* core functions. From the code it looks like the implementations * core functions. From the code it looks like the implementations