From 96b726b518742162fcf11ee980792d24b4d97723 Mon Sep 17 00:00:00 2001 From: Neil Roberts <neil@linux.intel.com> Date: Tue, 31 Jul 2012 15:03:59 +0100 Subject: [PATCH] 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) --- cogl/winsys/cogl-winsys-sdl.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cogl/winsys/cogl-winsys-sdl.c b/cogl/winsys/cogl-winsys-sdl.c index 3e87966a1..9d279840f 100644 --- a/cogl/winsys/cogl-winsys-sdl.c +++ b/cogl/winsys/cogl-winsys-sdl.c @@ -53,7 +53,8 @@ typedef struct _CoglDisplaySdl static CoglFuncPtr _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 * core functions. From the code it looks like the implementations