mirror of
https://github.com/brl/mutter.git
synced 2025-04-01 08:03:46 +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 + 1) % 2,
|
||||||
&retraceCount);
|
&retraceCount);
|
||||||
}
|
}
|
||||||
else
|
|
||||||
#ifdef __linux__
|
#ifdef __linux__
|
||||||
|
else
|
||||||
{
|
{
|
||||||
drm_wait_vblank_t blank;
|
drm_wait_vblank_t blank;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user