summaryrefslogtreecommitdiff
path: root/cogl/driver/gl/cogl-attribute-gl.c
diff options
context:
space:
mode:
authorRobert Bragg <robert@linux.intel.com>2012-09-19 21:59:19 +0100
committerRobert Bragg <robert@linux.intel.com>2013-01-22 17:47:59 +0000
commitbcf6a61d0b23a8ca6b1038cd54c8595306d3a34c (patch)
tree214acd8735f99b60350af77106866f2471d86deb /cogl/driver/gl/cogl-attribute-gl.c
parent91a02e9107993e5e947f71d2af79d6bf9080a549 (diff)
downloadcogl-bcf6a61d0b23a8ca6b1038cd54c8595306d3a34c.tar.gz
Give buffer/bitmap bind functions gl infix
The buffer and bitmap _bind() functions are GL specific so to clarify that, this patch adds a _gl infix to these functions, though it doesn't yet move the implementations out into gl specific files. Reviewed-by: Neil Roberts <neil@linux.intel.com> (cherry picked from commit 6371fbb9637d88ff187dfb6c4bcd18468ba44d19)
Diffstat (limited to 'cogl/driver/gl/cogl-attribute-gl.c')
-rw-r--r--cogl/driver/gl/cogl-attribute-gl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cogl/driver/gl/cogl-attribute-gl.c b/cogl/driver/gl/cogl-attribute-gl.c
index 3391f48d..65fb6e84 100644
--- a/cogl/driver/gl/cogl-attribute-gl.c
+++ b/cogl/driver/gl/cogl-attribute-gl.c
@@ -312,7 +312,7 @@ _cogl_gl_flush_attributes_state (CoglFramebuffer *framebuffer,
attribute_buffer = cogl_attribute_get_buffer (attribute);
buffer = COGL_BUFFER (attribute_buffer);
- base = _cogl_buffer_bind (buffer, COGL_BUFFER_BIND_TARGET_ATTRIBUTE_BUFFER);
+ base = _cogl_buffer_gl_bind (buffer, COGL_BUFFER_BIND_TARGET_ATTRIBUTE_BUFFER);
switch (attribute->name_state->name_id)
{
@@ -388,7 +388,7 @@ _cogl_gl_flush_attributes_state (CoglFramebuffer *framebuffer,
g_warning ("Unrecognised attribute type 0x%08x", attribute->type);
}
- _cogl_buffer_unbind (buffer);
+ _cogl_buffer_gl_unbind (buffer);
}
apply_attribute_enable_updates (ctx, pipeline);