diff options
Diffstat (limited to 'client/x11/pixels_source_p.h')
-rw-r--r-- | client/x11/pixels_source_p.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/client/x11/pixels_source_p.h b/client/x11/pixels_source_p.h index b1b5261c..8892c581 100644 --- a/client/x11/pixels_source_p.h +++ b/client/x11/pixels_source_p.h @@ -19,26 +19,26 @@ #define _H_PIXELE_SOURSR_P #include <X11/X.h> -#ifdef USE_OGL +#ifdef USE_OPENGL #include <GL/glu.h> -#endif // USE_OGL +#endif // USE_OPENGL #include <X11/Xdefs.h> #include <X11/Xutil.h> // required by Xshm.h, but not included by it #include <X11/extensions/XShm.h> #include "red_window.h" -#ifdef USE_OGL +#ifdef USE_OPENGL #include "red_pixmap_gl.h" -#endif // USE_OGL +#endif // USE_OPENGL #include "pixman_utils.h" enum { PIXELS_SOURCE_TYPE_INVALID, PIXELS_SOURCE_TYPE_X_DRAWABLE, PIXELS_SOURCE_TYPE_PIXMAP, -#ifdef USE_OGL +#ifdef USE_OPENGL PIXELS_SOURCE_TYPE_GL_TEXTURE, PIXELS_SOURCE_TYPE_GL_DRAWABLE, -#endif // USE_OGL +#endif // USE_OPENGL }; struct PixelsSource_p { @@ -56,17 +56,17 @@ struct PixelsSource_p { int screen; GC gc; int width, height; -#ifdef USE_OGL +#ifdef USE_OPENGL RenderType rendertype; union { GLXPbuffer pbuff; GLuint fbo; }; RedGlContext context; -#endif // USE_OGL +#endif // USE_OPENGL } x_drawable; -#ifdef USE_OGL +#ifdef USE_OPENGL struct { RenderType rendertype; Win win; @@ -80,7 +80,7 @@ struct PixelsSource_p { }; RedGlContext context; } gl; -#endif // USE_OGL +#endif // USE_OPENGL }; }; |