mirror of
https://github.com/brl/mutter.git
synced 2024-11-13 01:36:10 -05:00
Include cogl-defines.h before using GL types
If we are using GL* types we should also be including cogl-defines.h, as that will include the right GL header.
This commit is contained in:
parent
793fec8138
commit
58b5a46e0e
@ -29,6 +29,7 @@
|
||||
#define __COGL_SHADER_H__
|
||||
|
||||
#include <cogl/cogl-types.h>
|
||||
#include <cogl/cogl-defines.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
@ -29,6 +29,7 @@
|
||||
#define __COGL_TEXTURE_H__
|
||||
|
||||
#include <cogl/cogl-types.h>
|
||||
#include <cogl/cogl-defines.h>
|
||||
|
||||
G_BEGIN_DECLS
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user