diff options
author | David Robillard <d@drobilla.net> | 2019-02-15 22:37:50 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2019-02-16 16:56:50 +0100 |
commit | 539c1ddd4029f4ea62368c45955d0c1f6bca4006 (patch) | |
tree | 8458cfa1ed8cd8da139919407208c2fd05632065 /pugl/pugl.h | |
parent | f46b5124627e47a197ad41ff5b9e27b82e19d945 (diff) | |
download | pugl-539c1ddd4029f4ea62368c45955d0c1f6bca4006.tar.gz pugl-539c1ddd4029f4ea62368c45955d0c1f6bca4006.tar.bz2 pugl-539c1ddd4029f4ea62368c45955d0c1f6bca4006.zip |
Clean up includes
Diffstat (limited to 'pugl/pugl.h')
-rw-r--r-- | pugl/pugl.h | 7 |
1 files changed, 3 insertions, 4 deletions
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 <stdbool.h> #include <stdint.h> #ifdef PUGL_SHARED @@ -42,8 +43,6 @@ #ifdef __cplusplus extern "C" { -#else -# include <stdbool.h> #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; /** |