cogl-texture-2d-private: Include egl-defines.h
The cogl-texture-2d-private.h header checks for the presence of EGL_KHR_image_base before declaring _cogl_egl_texture_2d_new_from_image. This define will only be available if the EGL headers are included so we should make sure that happens. This was resulting in a warning complaining that the function was not previously declared. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit bd4840d7858efcf30eb5cf5d6fd0d39bdd59d1c1)
This commit is contained in:
parent
74fd618df9
commit
5fff83cd3c
1 changed files with 4 additions and 0 deletions
|
@ -29,6 +29,10 @@
|
|||
#include "cogl-texture-private.h"
|
||||
#include "cogl-texture-2d.h"
|
||||
|
||||
#ifdef COGL_HAS_EGL_SUPPORT
|
||||
#include "cogl-egl-defines.h"
|
||||
#endif
|
||||
|
||||
struct _CoglTexture2D
|
||||
{
|
||||
CoglTexture _parent;
|
||||
|
|
Loading…
Reference in a new issue