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:
Jonas Ådahl 2021-01-28 17:39:19 +01:00 committed by Marge Bot
parent caa798c672
commit 036ce1f28e

View File

@ -21,11 +21,10 @@
*
*/
#ifndef META_COGL_UTILS_H
#define META_COGL_UTILS_H
#pragma once
#include <cogl/cogl.h>
#include "cogl/cogl.h"
G_BEGIN_DECLS
@ -35,3 +34,5 @@ meta_cogl_pixel_format_from_drm_format (uint32_t drm_format,
CoglTextureComponents *out_components);
G_END_DECLS
#endif /* META_COGL_UTILS_H */