backends/native: Move functions out of HAVE_EGL_DEVICE

Those are now used in common code, so should be taken out of
the ifdef. Fixes compilation without EGL streams.
This commit is contained in:
Carlos Garnacho 2017-10-09 13:39:50 +02:00
parent 76096a725b
commit c85f322b20

View File

@ -1792,6 +1792,7 @@ meta_renderer_native_create_surface_egl_device (CoglOnscreen *onscreen,
return TRUE;
}
#endif /* HAVE_EGL_DEVICE */
static gboolean
init_dumb_fb (MetaDumbBuffer *dumb_fb,
@ -1928,7 +1929,6 @@ release_dumb_fb (MetaDumbBuffer *dumb_fb,
};
drmIoctl (kms_fd, DRM_IOCTL_MODE_DESTROY_DUMB, &destroy_arg);
}
#endif /* HAVE_EGL_DEVICE */
static gboolean
meta_renderer_native_init_onscreen (CoglOnscreen *onscreen,