mirror of
https://github.com/brl/mutter.git
synced 2024-12-23 19:42:05 +00:00
Fixes build with GLX on Mac OS X.
Moves preprocessor #ifdef __linux_ above else statement, avoiding the lack of an else block if __linux__ is not defined. http://bugzilla.clutter-project.org/show_bug.cgi?id=2212 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:
parent
e7ae71e072
commit
fff5558ad2
@ -476,8 +476,8 @@ wait_for_vblank (ClutterBackendGLX *backend_glx)
|
||||
(retraceCount + 1) % 2,
|
||||
&retraceCount);
|
||||
}
|
||||
else
|
||||
#ifdef __linux__
|
||||
else
|
||||
{
|
||||
drm_wait_vblank_t blank;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user