summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/ecore_drm2/ecore_drm2_device.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/lib/ecore_drm2/ecore_drm2_device.c b/src/lib/ecore_drm2/ecore_drm2_device.c
index 5ee49038d8..dbd95fe465 100644
--- a/src/lib/ecore_drm2/ecore_drm2_device.c
+++ b/src/lib/ecore_drm2/ecore_drm2_device.c
@@ -620,8 +620,10 @@ ecore_drm2_device_open(Ecore_Drm2_Device *device)
620# if 0 620# if 0
621 /* check that this system can do atomic */ 621 /* check that this system can do atomic */
622 _ecore_drm2_use_atomic = _drm2_atomic_usable(device->fd); 622 _ecore_drm2_use_atomic = _drm2_atomic_usable(device->fd);
623 if (_ecore_drm2_use_atomic)
624# endif 623# endif
624 if (getenv("ECORE_DRM2_ATOMIC_DISABLE"))
625 _ecore_drm2_use_atomic = EINA_FALSE;
626 if (_ecore_drm2_use_atomic)
625#endif 627#endif
626 { 628 {
627 if (sym_drmSetClientCap(device->fd, 629 if (sym_drmSetClientCap(device->fd,