Kaydet (Commit) 25e777f9 authored tarafından Tor Lillqvist's avatar Tor Lillqvist

Simplify ifdefs

Change-Id: I5c3835f6fdc215e5d9dc1b8146c12e0d1a57da7c
üst 1cdf6ade
......@@ -252,20 +252,16 @@ private:
#if defined( GLX_EXT_texture_from_pixmap )
GLXPixmap maLeavingPixmapGL;
GLXPixmap maEnteringPixmapGL;
Pixmap maLeavingPixmap;
Pixmap maEnteringPixmap;
bool mbFreeLeavingPixmap;
bool mbFreeEnteringPixmap;
#endif
#if defined( UNX ) && !defined( MACOSX )
bool mbRestoreSync;
#endif
bool mbUseLeavingPixmap;
bool mbUseEnteringPixmap;
#if defined( GLX_EXT_texture_from_pixmap )
bool mbFreeLeavingPixmap;
bool mbFreeEnteringPixmap;
#endif
#if defined( UNX ) && !defined( MACOSX )
Pixmap maLeavingPixmap;
Pixmap maEnteringPixmap;
#endif
/** the form the raw bytes are in for the bitmaps
*/
......@@ -1381,20 +1377,16 @@ OGLTransitionerImpl::OGLTransitionerImpl()
#if defined( GLX_EXT_texture_from_pixmap )
, maLeavingPixmapGL(0)
, maEnteringPixmapGL(0)
, maLeavingPixmap(0)
, maEnteringPixmap(0)
, mbFreeLeavingPixmap(false)
, mbFreeEnteringPixmap(false)
#endif
#if defined( UNX ) && !defined( MACOSX )
, mbRestoreSync(false)
#endif
, mbUseLeavingPixmap(false)
, mbUseEnteringPixmap(false)
#if defined( GLX_EXT_texture_from_pixmap )
, mbFreeLeavingPixmap(false)
, mbFreeEnteringPixmap(false)
#endif
#if defined( UNX ) && !defined( MACOSX )
, maLeavingPixmap(0)
, maEnteringPixmap(0)
#endif
, maSlideBitmapLayout()
, maSlideSize()
, mbBrokenTexturesATI(false)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment