| OLD | NEW |
| 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // These functions emluate GLES2 over command buffers for C. | 5 // These functions emulate GLES2 over command buffers for C. |
| 6 | 6 |
| 7 #include <assert.h> | 7 #include <assert.h> |
| 8 #include "../client/gles2_lib.h" | 8 #include "../client/gles2_lib.h" |
| 9 | 9 |
| 10 #ifndef GL_GLEXT_PROTOTYPES |
| 11 #define GL_GLEXT_PROTOTYPES |
| 12 #endif |
| 13 #include <GLES2/gl2ext.h> |
| 14 |
| 10 extern "C" { | 15 extern "C" { |
| 11 // Include the auto-generated part of this file. We split this because it means | 16 // Include the auto-generated part of this file. We split this because it means |
| 12 // we can easily edit the non-auto generated parts right here in this file | 17 // we can easily edit the non-auto generated parts right here in this file |
| 13 // instead of having to edit some template or the code generator. | 18 // instead of having to edit some template or the code generator. |
| 14 #include "../client/gles2_c_lib_autogen.h" | 19 #include "../client/gles2_c_lib_autogen.h" |
| 15 } // extern "C" | 20 } // extern "C" |
| 16 | 21 |
| 17 | 22 |
| OLD | NEW |