From 1ce17453842afef8bc952c00beb200c529e145df Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Fri, 17 Nov 2023 11:42:40 +0100 Subject: [PATCH] cogl: Remove duplicated build options check Meson already has a check for ensuring that either GL or GLES 2 is enabled at build time Part-of: --- cogl/cogl/cogl-pipeline-private.h | 6 ------ 1 file changed, 6 deletions(-) diff --git a/cogl/cogl/cogl-pipeline-private.h b/cogl/cogl/cogl-pipeline-private.h index 5d8f6b049..0ed9539e0 100644 --- a/cogl/cogl/cogl-pipeline-private.h +++ b/cogl/cogl/cogl-pipeline-private.h @@ -47,12 +47,6 @@ #include -#if !(defined(HAVE_GL) || defined(HAVE_GLES2)) - -#error No drivers defined - -#endif /* defined(HAVE_GL) || defined(HAVE_GLES2) */ - /* XXX: should I rename these as * COGL_PIPELINE_STATE_INDEX_XYZ... ? */