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/red_window.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'client/red_window.h') diff --git a/client/red_window.h b/client/red_window.h index a5eeb535..97f3b791 100644 --- a/client/red_window.h +++ b/client/red_window.h @@ -79,12 +79,12 @@ public: void set_render_pbuff(RedPbuffer pbuff); void set_render_fbo(GLuint fbo); void set_gl_context(RedGlContext context); -#endif - - int get_screen_num(); void set_type_gl(); void unset_type_gl(); +#endif + + int get_screen_num(); static void init(); static void cleanup(); -- cgit