diff options
author | Robert Bragg <robert@linux.intel.com> | 2012-04-16 14:14:10 +0100 |
---|---|---|
committer | Robert Bragg <robert@linux.intel.com> | 2012-08-06 14:27:39 +0100 |
commit | 09642a83b5f036756c7625ade7cf57358396baec (patch) | |
tree | 9eede7db7022ece69e2ab532e283c683b9792b9e /cogl/cogl-clip-state.c | |
parent | 097d282b324df663e275e1f65ea7b6c65bab87fc (diff) | |
download | cogl-09642a83b5f036756c7625ade7cf57358396baec.tar.gz |
Removes all remaining use of CoglHandle
Removing CoglHandle has been an on going goal for quite a long time now
and finally this patch removes the last remaining uses of the CoglHandle
type and the cogl_handle_ apis.
Since the big remaining users of CoglHandle were the cogl_program_ and
cogl_shader_ apis which have replaced with the CoglSnippets api this
patch removes both of these apis.
Reviewed-by: Neil Roberts <neil@linux.intel.com>
(cherry picked from commit 6ed3aaf4be21d605a1ed3176b3ea825933f85cf0)
Since the original patch was done after removing deprecated API
this back ported patch doesn't affect deprecated API and so
actually this cherry-pick doesn't remove all remaining use of
CoglHandle as it did for the master branch of Cogl.
Diffstat (limited to 'cogl/cogl-clip-state.c')
-rw-r--r-- | cogl/cogl-clip-state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cogl/cogl-clip-state.c b/cogl/cogl-clip-state.c index ca34d783..9d1af9a3 100644 --- a/cogl/cogl-clip-state.c +++ b/cogl/cogl-clip-state.c @@ -193,7 +193,7 @@ _cogl_clip_state_save_clip_stack (CoglClipState *clip_state) void _cogl_clip_state_restore_clip_stack (CoglClipState *clip_state) { - CoglHandle stack; + CoglClipStack *stack; _COGL_RETURN_IF_FAIL (clip_state->stacks != NULL); |