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:
Emmanuele Bassi 2010-01-05 17:54:45 +00:00
parent 928e1adc3d
commit 932a9e16ab
2 changed files with 2 additions and 0 deletions

View File

@ -29,6 +29,7 @@
#define __COGL_SHADER_H__
#include <cogl/cogl-types.h>
#include <cogl/cogl-defines.h>
G_BEGIN_DECLS

View File

@ -29,6 +29,7 @@
#define __COGL_TEXTURE_H__
#include <cogl/cogl-types.h>
#include <cogl/cogl-defines.h>
G_BEGIN_DECLS