diff --git a/cogl/driver/gl/cogl.c b/cogl/driver/gl/cogl.c index 87b5c2f47..1e40c5f38 100644 --- a/cogl/driver/gl/cogl.c +++ b/cogl/driver/gl/cogl.c @@ -175,6 +175,7 @@ _cogl_check_driver_valid (GError **error) #define COGL_FEATURE_FUNCTION(ret, name, args) \ { G_STRINGIFY (name), G_STRUCT_OFFSET (CoglContext, drv.pf_ ## name) }, #define COGL_FEATURE_END() \ + { NULL, 0 }, \ }; #include "cogl-feature-functions.h" diff --git a/cogl/driver/gles/cogl.c b/cogl/driver/gles/cogl.c index 0e63bad3f..21d5c268f 100644 --- a/cogl/driver/gles/cogl.c +++ b/cogl/driver/gles/cogl.c @@ -72,6 +72,7 @@ _cogl_check_driver_valid (GError **error) #define COGL_FEATURE_FUNCTION(ret, name, args) \ { G_STRINGIFY (name), G_STRUCT_OFFSET (CoglContext, drv.pf_ ## name) }, #define COGL_FEATURE_END() \ + { NULL, 0 }, \ }; #include "cogl-feature-functions.h"