summaryrefslogtreecommitdiffstats
path: root/client/screen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'client/screen.cpp')
-rw-r--r--client/screen.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/client/screen.cpp b/client/screen.cpp
index bc876467..75205719 100644
--- a/client/screen.cpp
+++ b/client/screen.cpp
@@ -915,6 +915,7 @@ void RedScreen::interrupt_update()
_update_interrupt_trigger->trigger();
}
+#ifdef USE_OGL
void RedScreen::set_type_gl()
{
_window.set_type_gl();
@@ -924,4 +925,5 @@ void RedScreen::unset_type_gl()
{
_window.unset_type_gl();
}
+#endif // USE_OGL