aboutsummaryrefslogtreecommitdiffstats
path: root/pugl/detail/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'pugl/detail/types.h')
-rw-r--r--pugl/detail/types.h16
1 files changed, 1 insertions, 15 deletions
diff --git a/pugl/detail/types.h b/pugl/detail/types.h
index 60f7682..b538091 100644
--- a/pugl/detail/types.h
+++ b/pugl/detail/types.h
@@ -39,21 +39,7 @@
typedef struct PuglInternalsImpl PuglInternals;
/** View hints. */
-typedef struct {
- int context_version_major;
- int context_version_minor;
- int red_bits;
- int green_bits;
- int blue_bits;
- int alpha_bits;
- int depth_bits;
- int stencil_bits;
- int samples;
- int double_buffer;
- bool use_compat_profile;
- bool resizable;
- bool ignoreKeyRepeat;
-} PuglHints;
+typedef int PuglHints[PUGL_NUM_WINDOW_HINTS];
/** Cross-platform view definition. */
struct PuglViewImpl {