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

Simplify ifdefs

Change-Id: I5c3835f6fdc215e5d9dc1b8146c12e0d1a57da7c
üst 1cdf6ade
...@@ -252,20 +252,16 @@ private: ...@@ -252,20 +252,16 @@ private:
#if defined( GLX_EXT_texture_from_pixmap ) #if defined( GLX_EXT_texture_from_pixmap )
GLXPixmap maLeavingPixmapGL; GLXPixmap maLeavingPixmapGL;
GLXPixmap maEnteringPixmapGL; GLXPixmap maEnteringPixmapGL;
Pixmap maLeavingPixmap;
Pixmap maEnteringPixmap;
bool mbFreeLeavingPixmap;
bool mbFreeEnteringPixmap;
#endif #endif
#if defined( UNX ) && !defined( MACOSX ) #if defined( UNX ) && !defined( MACOSX )
bool mbRestoreSync; bool mbRestoreSync;
#endif #endif
bool mbUseLeavingPixmap; bool mbUseLeavingPixmap;
bool mbUseEnteringPixmap; 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 /** the form the raw bytes are in for the bitmaps
*/ */
...@@ -1381,20 +1377,16 @@ OGLTransitionerImpl::OGLTransitionerImpl() ...@@ -1381,20 +1377,16 @@ OGLTransitionerImpl::OGLTransitionerImpl()
#if defined( GLX_EXT_texture_from_pixmap ) #if defined( GLX_EXT_texture_from_pixmap )
, maLeavingPixmapGL(0) , maLeavingPixmapGL(0)
, maEnteringPixmapGL(0) , maEnteringPixmapGL(0)
, maLeavingPixmap(0)
, maEnteringPixmap(0)
, mbFreeLeavingPixmap(false)
, mbFreeEnteringPixmap(false)
#endif #endif
#if defined( UNX ) && !defined( MACOSX ) #if defined( UNX ) && !defined( MACOSX )
, mbRestoreSync(false) , mbRestoreSync(false)
#endif #endif
, mbUseLeavingPixmap(false) , mbUseLeavingPixmap(false)
, mbUseEnteringPixmap(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() , maSlideBitmapLayout()
, maSlideSize() , maSlideSize()
, mbBrokenTexturesATI(false) , 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