mirror of
https://github.com/brl/mutter.git
synced 2025-08-06 00:24:42 +00:00
context: removes some uses of CoglHandle
There were several members of the CoglContext struct using the CoglHandle type for things that now have replacement typedefs which this patch fixes. Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
@@ -786,13 +786,13 @@ flush_layers_common_gl_state_cb (CoglPipelineLayer *layer, void *user_data)
|
||||
switch (_cogl_pipeline_layer_get_texture_type (layer))
|
||||
{
|
||||
case COGL_TEXTURE_TYPE_2D:
|
||||
texture = ctx->default_gl_texture_2d_tex;
|
||||
texture = COGL_TEXTURE (ctx->default_gl_texture_2d_tex);
|
||||
break;
|
||||
case COGL_TEXTURE_TYPE_3D:
|
||||
texture = ctx->default_gl_texture_3d_tex;
|
||||
texture = COGL_TEXTURE (ctx->default_gl_texture_3d_tex);
|
||||
break;
|
||||
case COGL_TEXTURE_TYPE_RECTANGLE:
|
||||
texture = ctx->default_gl_texture_rect_tex;
|
||||
texture = COGL_TEXTURE (ctx->default_gl_texture_rect_tex);
|
||||
break;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user