diff options
Diffstat (limited to 'gpu/command_buffer/client/gles2_c_lib.cc')
-rw-r--r-- | gpu/command_buffer/client/gles2_c_lib.cc | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/gpu/command_buffer/client/gles2_c_lib.cc b/gpu/command_buffer/client/gles2_c_lib.cc index 4e853c2..0bed5f8 100644 --- a/gpu/command_buffer/client/gles2_c_lib.cc +++ b/gpu/command_buffer/client/gles2_c_lib.cc @@ -1,12 +1,17 @@ -// Copyright (c) 2011 The Chromium Authors. All rights reserved. +// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. -// These functions emluate GLES2 over command buffers for C. +// These functions emulate GLES2 over command buffers for C. #include <assert.h> #include "../client/gles2_lib.h" +#ifndef GL_GLEXT_PROTOTYPES +#define GL_GLEXT_PROTOTYPES +#endif +#include <GLES2/gl2ext.h> + extern "C" { // Include the auto-generated part of this file. We split this because it means // we can easily edit the non-auto generated parts right here in this file |