mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-27 06:00:22 +00:00
gdkgl: Make some helper functions static
This commit is contained in:
parent
ec729d0649
commit
22ad7b7782
@ -50,7 +50,7 @@ get_vertex_type_name (int type)
|
||||
return "unknown";
|
||||
}
|
||||
|
||||
guint
|
||||
static guint
|
||||
create_shader (int type, const char const *code)
|
||||
{
|
||||
guint shader;
|
||||
@ -82,7 +82,7 @@ create_shader (int type, const char const *code)
|
||||
return shader;
|
||||
}
|
||||
|
||||
guint
|
||||
static guint
|
||||
make_program (const char const *vertex_shader_code, const char const *fragment_shader_code)
|
||||
{
|
||||
guint program, vertex_shader, fragment_shader;
|
||||
|
Loading…
Reference in New Issue
Block a user