mirror of
https://github.com/brl/mutter.git
synced 2025-01-26 19:39:20 +00: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
928e1adc3d
commit
932a9e16ab
@ -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…
x
Reference in New Issue
Block a user