mirror of
https://github.com/brl/mutter.git
synced 2025-06-14 01:09:30 +00:00
cogl-buffer: Use TEXTURE as the only value for CoglBufferUsageHint
We should try to use more explicit defines than GL for our hints. For now we only support using a CoglBuffer to generate textures.
This commit is contained in:
@ -148,7 +148,7 @@ cogl_pixel_buffer_new_EXP (guint size)
|
||||
/* parent's constructor */
|
||||
_cogl_buffer_initialize (buffer,
|
||||
size,
|
||||
COGL_BUFFER_USAGE_HINT_DRAW,
|
||||
COGL_BUFFER_USAGE_HINT_TEXTURE,
|
||||
COGL_BUFFER_UPDATE_HINT_STATIC);
|
||||
|
||||
/* malloc version only for GLES */
|
||||
|
Reference in New Issue
Block a user