From 6b34ddecfaca5962e05c68b74f61c3af0ed31c51 Mon Sep 17 00:00:00 2001 From: Hajime Hoshi Date: Wed, 5 Jan 2022 01:51:06 +0900 Subject: [PATCH] internal/graphicsdriver/opengl/gles: add GLES_SILENCE_DEPRECATION to suppress warnings --- internal/graphicsdriver/opengl/gles/default.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/graphicsdriver/opengl/gles/default.go b/internal/graphicsdriver/opengl/gles/default.go index 00b36803b..dd8a9989f 100644 --- a/internal/graphicsdriver/opengl/gles/default.go +++ b/internal/graphicsdriver/opengl/gles/default.go @@ -27,6 +27,7 @@ package gles // #endif // // #if defined(os_ios) +// #define GLES_SILENCE_DEPRECATION // #include // #endif import "C"