Skip to content

Commit cde37c6

Browse files
committed
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>
1 parent 4e6c292 commit cde37c6

File tree

2 files changed

+3
-0
lines changed

2 files changed

+3
-0
lines changed

app/darwin_ios.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@
1010
#include <stdio.h>
1111
#include <sys/utsname.h>
1212

13+
#define GLES_SILENCE_DEPRECATION
14+
1315
#import <UIKit/UIKit.h>
1416
#import <GLKit/GLKit.h>
1517

gl/work.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
#endif
1616

1717
#ifdef os_ios
18+
#define GLES_SILENCE_DEPRECATION
1819
#include <OpenGLES/ES2/glext.h>
1920
#endif
2021

0 commit comments

Comments
 (0)