From f6f188dad4c225bb2708e1abaac2c9a5557fe14c Mon Sep 17 00:00:00 2001 From: Daniel van Vugt Date: Fri, 30 Nov 2018 15:22:00 +0800 Subject: [PATCH] renderer-native: Advertise COGL_FEATURE_ID_PRESENTATION_TIME Since it's now implemented (e9e4b2b72e). Fortunately forgetting to advertise it didn't matter because there isn't any code yet that checks for it. --- src/backends/native/meta-renderer-native.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/backends/native/meta-renderer-native.c b/src/backends/native/meta-renderer-native.c index 96afdc4d1..04d325db2 100644 --- a/src/backends/native/meta-renderer-native.c +++ b/src/backends/native/meta-renderer-native.c @@ -2069,6 +2069,8 @@ meta_renderer_native_init_egl_context (CoglContext *cogl_context, MetaRendererNativeGpuData *renderer_gpu_data = cogl_renderer_egl->platform; #endif + COGL_FLAGS_SET (cogl_context->features, + COGL_FEATURE_ID_PRESENTATION_TIME, TRUE); COGL_FLAGS_SET (cogl_context->features, COGL_FEATURE_ID_SWAP_BUFFERS_EVENT, TRUE); /* TODO: remove this deprecated feature */