Fix the header guards for cogl-texture-2d{,-private}.h
The header guard for cogl-texture-2d-private.h was __COGL_TEXTURE_2D_H. This would conflict with the header guard for cogl-texture-2d.h except there a small typo ('TEXURE') so that it was subtly different. This fixes them both to make more sense. Reviewed-by: Robert Bragg <robert@linux.intel.com> (cherry picked from commit 222ec4d009973cb62020a9da05f72dea41460b33)
This commit is contained in:
parent
96b726b518
commit
0e168ed0aa
@ -21,8 +21,8 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#ifndef __COGL_TEXTURE_2D_H
|
#ifndef __COGL_TEXTURE_2D_PRIVATE_H
|
||||||
#define __COGL_TEXTURE_2D_H
|
#define __COGL_TEXTURE_2D_PRIVATE_H
|
||||||
|
|
||||||
#include "cogl-object-private.h"
|
#include "cogl-object-private.h"
|
||||||
#include "cogl-pipeline-private.h"
|
#include "cogl-pipeline-private.h"
|
||||||
@ -103,4 +103,4 @@ _cogl_texture_2d_copy_from_framebuffer (CoglTexture2D *texture,
|
|||||||
int width,
|
int width,
|
||||||
int height);
|
int height);
|
||||||
|
|
||||||
#endif /* __COGL_TEXTURE_2D_H */
|
#endif /* __COGL_TEXTURE_2D_PRIVATE_H */
|
||||||
|
@ -28,8 +28,8 @@
|
|||||||
#error "Only <cogl/cogl.h> can be included directly."
|
#error "Only <cogl/cogl.h> can be included directly."
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifndef __COGL_TEXURE_2D_H
|
#ifndef __COGL_TEXTURE_2D_H
|
||||||
#define __COGL_TEXURE_2D_H
|
#define __COGL_TEXTURE_2D_H
|
||||||
|
|
||||||
#include "cogl-context.h"
|
#include "cogl-context.h"
|
||||||
|
|
||||||
@ -225,4 +225,4 @@ cogl_texture_2d_new_from_foreign (CoglContext *ctx,
|
|||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
#endif /* __COGL_TEXURE_2D_H */
|
#endif /* __COGL_TEXTURE_2D_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user