OLD | NEW |
---|---|
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 #include <stddef.h> | |
5 #include "ppapi/lib/gl/gles2/gl2ext_ppapi.h" | 6 #include "ppapi/lib/gl/gles2/gl2ext_ppapi.h" |
piman
2011/03/24 03:41:36
This include should be first.
neb
2011/03/25 21:27:10
Done.
| |
6 | 7 |
7 #ifndef GL_FALSE | 8 #ifndef GL_FALSE |
8 #define GL_FALSE 0 | 9 #define GL_FALSE 0 |
9 #endif // GL_FALSE | 10 #endif // GL_FALSE |
10 | 11 |
11 #ifndef GL_TRUE | 12 #ifndef GL_TRUE |
12 #define GL_TRUE 1 | 13 #define GL_TRUE 1 |
13 #endif // GL_TRUE | 14 #endif // GL_TRUE |
14 | 15 |
15 #if defined(__GNUC__) && !defined(__APPLE__) | 16 #if defined(__GNUC__) && !defined(__APPLE__) |
(...skipping 30 matching lines...) Expand all Loading... | |
46 } | 47 } |
47 | 48 |
48 PP_Resource GL_APIENTRY glGetCurrentContextPPAPI() { | 49 PP_Resource GL_APIENTRY glGetCurrentContextPPAPI() { |
49 return g_current_context; | 50 return g_current_context; |
50 } | 51 } |
51 | 52 |
52 const struct PPB_OpenGLES2_Dev* GL_APIENTRY glGetInterfacePPAPI() { | 53 const struct PPB_OpenGLES2_Dev* GL_APIENTRY glGetInterfacePPAPI() { |
53 return g_gles2_interface; | 54 return g_gles2_interface; |
54 } | 55 } |
55 | 56 |
OLD | NEW |