diff options
Diffstat (limited to 'client/screen.h')
-rw-r--r-- | client/screen.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/client/screen.h b/client/screen.h index 8b737a2b..8d9a81c3 100644 --- a/client/screen.h +++ b/client/screen.h @@ -21,7 +21,9 @@ #include "common.h" #include "region.h" #include "red_key.h" +#ifdef USE_OGL #include "GL/gl.h" +#endif // USE_OGL #include "red_window.h" #include "platform.h" @@ -94,12 +96,12 @@ public: #ifdef USE_OGL void untouch_context(); bool need_recreate_context_gl(); + void set_type_gl(); + void unset_type_gl(); #endif void set_update_interrupt_trigger(EventSources::Trigger *trigger); bool update_by_interrupt(); void interrupt_update(); - void set_type_gl(); - void unset_type_gl(); void update(); |