summaryrefslogtreecommitdiff
path: root/cogl/cogl-private.h
diff options
context:
space:
mode:
authorNeil Roberts <neil@linux.intel.com>2012-02-25 19:14:25 +0000
committerNeil Roberts <neil@linux.intel.com>2012-03-05 17:46:59 +0000
commit2501899044759a4e9bd91b78cf622b61bad7d0fb (patch)
tree5383b3eaaefa189abababdb43c01757ac8a99592 /cogl/cogl-private.h
parent1b47ff0dfe1c73d9c580f876781b06f7a9720047 (diff)
downloadcogl-2501899044759a4e9bd91b78cf622b61bad7d0fb.tar.gz
cogl-buffer: Create the buffer store when bound
Whenever the buffer is bound with _cogl_buffer_bind Cogl now ensures the buffer's data store has been created. Previously it would only ensure it was created when it was first mapped or when the first data was set on it. This is necessary if we are going to use CoglBuffers for retrieving data from GL. In that case the buffer won't be mapped or have data set on it before it is used. Reviewed-by: Robert Bragg <robert@linux.intel.com>
Diffstat (limited to 'cogl/cogl-private.h')
0 files changed, 0 insertions, 0 deletions