Fix inclusion guards and headers
The C++ inclusion guards G_BEGIN_DECLS and G_END_DECLS are defined by GLib; so we need to include glib.h before using them.
This commit is contained in:
@ -28,7 +28,7 @@
|
||||
#ifndef __COGL_SHADER_H__
|
||||
#define __COGL_SHADER_H__
|
||||
|
||||
#include <glib.h>
|
||||
#include <cogl/cogl-types.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
Reference in New Issue
Block a user