OLD | NEW |
---|---|
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #ifndef REMOTING_CLIENT_OPENGL_WRAPPER_H_ | 5 #ifndef REMOTING_CLIENT_OPENGL_WRAPPER_H_ |
Sergey Ulanov
2016/06/27 23:15:30
opengl_wrapper.h is confusing. Suggest calling thi
Yuwei
2016/06/28 22:51:11
Done.
| |
6 #define REMOTING_CLIENT_OPENGL_WRAPPER_H_ | 6 #define REMOTING_CLIENT_OPENGL_WRAPPER_H_ |
7 | 7 |
8 #include "build/build_config.h" | |
9 | |
8 #if defined(OS_IOS) | 10 #if defined(OS_IOS) |
9 #include <OpenGLES/ES2/gl.h> | 11 #include <OpenGLES/ES2/gl.h> |
12 #elif defined(OS_ANDROID) | |
13 #include <GLES2/gl2.h> | |
10 #endif // defined(OS_IOS) | 14 #endif // defined(OS_IOS) |
11 | 15 |
12 #endif // REMOTING_CLIENT_OPENGL_WRAPPER_H_ | 16 #endif // REMOTING_CLIENT_OPENGL_WRAPPER_H_ |
OLD | NEW |