cogl: Mark _cogl_buffer_access_to_gl_enum static

https://gitlab.gnome.org/GNOME/mutter/merge_requests/1015
This commit is contained in:
Adam Jackson 2020-01-21 13:56:04 -05:00 committed by Georges Basile Stavracas Neto
parent e0d2e1096d
commit 99043e2af2
2 changed files with 1 additions and 4 deletions

View File

@ -139,9 +139,6 @@ _cogl_buffer_fini (CoglBuffer *buffer);
CoglBufferUsageHint
_cogl_buffer_get_usage_hint (CoglBuffer *buffer);
GLenum
_cogl_buffer_access_to_gl_enum (CoglBufferAccess access);
CoglBuffer *
_cogl_buffer_immutable_ref (CoglBuffer *buffer);

View File

@ -160,7 +160,7 @@ recreate_store (CoglBuffer *buffer,
return TRUE;
}
GLenum
static GLenum
_cogl_buffer_access_to_gl_enum (CoglBufferAccess access)
{
if ((access & COGL_BUFFER_ACCESS_READ_WRITE) == COGL_BUFFER_ACCESS_READ_WRITE)