From 539c1ddd4029f4ea62368c45955d0c1f6bca4006 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Fri, 15 Feb 2019 22:37:50 +0100 Subject: Clean up includes --- pugl/pugl.h | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'pugl/pugl.h') diff --git a/pugl/pugl.h b/pugl/pugl.h index 1cfe3c9..05366be 100644 --- a/pugl/pugl.h +++ b/pugl/pugl.h @@ -21,6 +21,7 @@ #ifndef PUGL_H_INCLUDED #define PUGL_H_INCLUDED +#include #include #ifdef PUGL_SHARED @@ -42,8 +43,6 @@ #ifdef __cplusplus extern "C" { -#else -# include #endif /** @@ -82,8 +81,8 @@ typedef enum { Drawing context type. */ typedef enum { - PUGL_GL = 0x1, /**< OpenGL (3D) */ - PUGL_CAIRO = 0x2 /**< Cairo (2D) */ + PUGL_GL = 1 << 0, /**< OpenGL (3D) */ + PUGL_CAIRO = 1 << 1 /**< Cairo (2D) */ } PuglContextType; /** -- cgit v1.2.1