diff options
author | Christophe Fergeau <cfergeau@redhat.com> | 2011-04-21 13:06:37 +0200 |
---|---|---|
committer | Christophe Fergeau <cfergeau@redhat.com> | 2011-05-03 14:44:11 +0200 |
commit | e0c20725c8c7b516ed500b570fcf134534efd6b3 (patch) | |
tree | ca604891742f134e4d30390c97a3714e410fde8f /client/x11/red_window_p.h | |
parent | c1b7ecac3f51a2818bf7abd00d27f0475b507ba1 (diff) | |
download | spice-e0c20725c8c7b516ed500b570fcf134534efd6b3.tar.gz spice-e0c20725c8c7b516ed500b570fcf134534efd6b3.tar.xz spice-e0c20725c8c7b516ed500b570fcf134534efd6b3.zip |
s/USE_OGL/USE_OPENGL
This is more explicit about what it does, and not much longer
Diffstat (limited to 'client/x11/red_window_p.h')
-rw-r--r-- | client/x11/red_window_p.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/client/x11/red_window_p.h b/client/x11/red_window_p.h index 6f05a905..6f94d261 100644 --- a/client/x11/red_window_p.h +++ b/client/x11/red_window_p.h @@ -18,17 +18,17 @@ #ifndef _H_RED_WINDOW_P #define _H_RED_WINDOW_P -#ifdef USE_OGL +#ifdef USE_OPENGL #include <GL/glx.h> -#endif // USE_OGL +#endif // USE_OPENGL #include <X11/Xdefs.h> #include <X11/Xlib.h> typedef Window Win; -#ifdef USE_OGL +#ifdef USE_OPENGL typedef GLXContext RedGlContext; typedef GLXPbuffer RedPbuffer; -#endif // USE_OGL +#endif // USE_OPENGL class RedWindow; class Icon; @@ -54,9 +54,9 @@ public: static void win_proc(XEvent& event); static Cursor create_invisible_cursor(Window window); -#ifdef USE_OGL +#ifdef USE_OPENGL void set_glx(int width, int height); -#endif // USE_OGL +#endif // USE_OPENGL static void handle_key_press_event(RedWindow& red_window, XKeyEvent* event); protected: @@ -67,9 +67,9 @@ protected: bool _expect_parent; SpicePoint _show_pos; bool _show_pos_valid; -#ifdef USE_OGL +#ifdef USE_OPENGL GLXContext _glcont_copy; -#endif // USE_OGL +#endif // USE_OPENGL Icon* _icon; bool _focused; bool _ignore_foucs; |