mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 14:53:03 +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
793fec8138
commit
58b5a46e0e
@ -29,6 +29,7 @@
|
|||||||
#define __COGL_SHADER_H__
|
#define __COGL_SHADER_H__
|
||||||
|
|
||||||
#include <cogl/cogl-types.h>
|
#include <cogl/cogl-types.h>
|
||||||
|
#include <cogl/cogl-defines.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@ -29,6 +29,7 @@
|
|||||||
#define __COGL_TEXTURE_H__
|
#define __COGL_TEXTURE_H__
|
||||||
|
|
||||||
#include <cogl/cogl-types.h>
|
#include <cogl/cogl-types.h>
|
||||||
|
#include <cogl/cogl-defines.h>
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user