define the backend ABI version
[platform/core/uifw/libtdm.git] / src / tdm_backend.c
index 13ea24c..c979129 100644 (file)
@@ -146,10 +146,7 @@ tdm_backend_register_func_hwc(tdm_display *dpy, tdm_func_hwc *func_hwc)
        assert(private_display->current_module);
 
        module = private_display->current_module->module_data;
-       /* FIX ME:
-                  Temporarily, we set the version of hwc window to 1.1 for the development.
-                  Originally the hwc window version is 2.0. */
-       if (_check_abi_version(module, 1, 1) < 0)
+       if (_check_abi_version(module, 2, 0) < 0)
                return TDM_ERROR_BAD_MODULE;
 
        private_display->current_module->func_hwc = *func_hwc;
@@ -171,10 +168,7 @@ tdm_backend_register_func_hwc_window(tdm_display *dpy, tdm_func_hwc_window *func
        assert(private_display->current_module);
 
        module = private_display->current_module->module_data;
-       /* FIX ME:
-                  Temporarily, we set the version of hwc window to 1.1 for the development.
-                  Originally the hwc window version is 2.0. */
-       if (_check_abi_version(module, 1, 1) < 0)
+       if (_check_abi_version(module, 2, 0) < 0)
                return TDM_ERROR_BAD_MODULE;
 
        private_display->current_module->func_hwc_window = *func_hwc_window;