From cfc1e95bda0e150b3de225c3572bb1004dad070e Mon Sep 17 00:00:00 2001 From: Alexander Larsson Date: Mon, 21 Jun 2010 14:17:29 +0200 Subject: Make opengl optional, disabled by default The OpenGL renderer isn't really useful right now, its not quite up to date, its not really faster than software and it only supports a limited subset of drivers. So, lets disable it for now. Long term opengl rendering of the 2d part of spice is important if we want to combine 2d and 3d rendering (say if spice adds opengl support in the protocol). But until then this is isn't useful for normal use. --- client/screen.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'client/screen.cpp') 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 -- cgit