2
0
mirror of synced 2025-02-22 14:28:14 +00:00

all: add GLES_SILENCE_DEPRECATION to suppress warnings

Change-Id: I8544e7cd8c4e3d2b71fd1850f7043eabe25231d0
Reviewed-on: https://go-review.googlesource.com/c/mobile/+/374497
Run-TryBot: Hajime Hoshi <hajimehoshi@gmail.com>
Trust: Hajime Hoshi <hajimehoshi@gmail.com>
TryBot-Result: Gopher Robot <gobot@golang.org>
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
This commit is contained in:
Hajime Hoshi 2022-01-05 01:59:48 +09:00
parent 4e6c2922fd
commit cde37c62e1
2 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,8 @@
#include <stdio.h>
#include <sys/utsname.h>
#define GLES_SILENCE_DEPRECATION
#import <UIKit/UIKit.h>
#import <GLKit/GLKit.h>

View File

@ -15,6 +15,7 @@
#endif
#ifdef os_ios
#define GLES_SILENCE_DEPRECATION
#include <OpenGLES/ES2/glext.h>
#endif