mirror of
https://github.com/brl/mutter.git
synced 2025-02-02 23:03:00 +00:00
win32: Use the right macro name for COGL_HAS_WIN32_SUPPORT
Some places were using COGL_HAS_WIN32 but the only macro defined is COGL_HAS_WIN32_SUPPORT. The similar macros such as COGL_HAS_XLIB are only defined for compatibility with existing code but COGL_HAS_WIN32 was never defined so there's no need to support it. One of the places was including the non-existant cogl-win32.h. This has been removed because the file only temporarily existed during development of the backend.
This commit is contained in:
parent
a075f4498b
commit
442d4586b7
@ -30,9 +30,9 @@
|
|||||||
|
|
||||||
#include <glib.h>
|
#include <glib.h>
|
||||||
|
|
||||||
#ifdef COGL_HAS_WIN32
|
#ifdef COGL_HAS_WIN32_SUPPORT
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#endif /* COGL_HAS_WIN32 */
|
#endif /* COGL_HAS_WIN32_SUPPORT */
|
||||||
|
|
||||||
G_BEGIN_DECLS
|
G_BEGIN_DECLS
|
||||||
|
|
||||||
|
@ -88,9 +88,6 @@ typedef struct _CoglFramebuffer CoglFramebuffer;
|
|||||||
#ifdef COGL_HAS_XLIB
|
#ifdef COGL_HAS_XLIB
|
||||||
#include <cogl/cogl-xlib.h>
|
#include <cogl/cogl-xlib.h>
|
||||||
#endif
|
#endif
|
||||||
#ifdef COGL_HAS_WIN32
|
|
||||||
#include <cogl/cogl-win32.h>
|
|
||||||
#endif
|
|
||||||
/* XXX: This will definitly go away once all the Clutter winsys
|
/* XXX: This will definitly go away once all the Clutter winsys
|
||||||
* code has been migrated down into Cogl! */
|
* code has been migrated down into Cogl! */
|
||||||
#include <cogl/cogl-clutter.h>
|
#include <cogl/cogl-clutter.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user