1
0
Fork 0

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.
This commit is contained in:
Daniel van Vugt 2018-11-30 15:22:00 +08:00 committed by Georges Basile Stavracas Neto
parent 262a3ecbd6
commit f6f188dad4

View file

@ -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 */