native/cogl-utils: Minor macro cleanup
We don't use 'pragma once' in mutter, and cogl/cogl.h isn't a system include. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1690>
This commit is contained in:
parent
caa798c672
commit
036ce1f28e
@ -21,11 +21,10 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef META_COGL_UTILS_H
|
||||||
|
#define META_COGL_UTILS_H
|
||||||
|
|
||||||
|
#include "cogl/cogl.h"
|
||||||
#pragma once
|
|
||||||
|
|
||||||
#include <cogl/cogl.h>
|
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
@ -35,3 +34,5 @@ meta_cogl_pixel_format_from_drm_format (uint32_t drm_format,
|
|||||||
CoglTextureComponents *out_components);
|
CoglTextureComponents *out_components);
|
||||||
|
|
||||||
G_END_DECLS
|
G_END_DECLS
|
||||||
|
|
||||||
|
#endif /* META_COGL_UTILS_H */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user