summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gles2_cmd_validation.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_validation.cc')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_validation.cc11
1 files changed, 4 insertions, 7 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_validation.cc b/gpu/command_buffer/service/gles2_cmd_validation.cc
index 84e8a4b..8d4fd71 100644
--- a/gpu/command_buffer/service/gles2_cmd_validation.cc
+++ b/gpu/command_buffer/service/gles2_cmd_validation.cc
@@ -4,13 +4,10 @@
// Contains various validation functions for the GLES2 service.
-// NOTE: We explicitly do NOT include gles2_cmd_validation.h because the
-// gl2.h included in here must NOT be the native one. This is because
-// some of the GLenum definitions exist only in GLES2 and not in Desktop
-// GL.
-#include <GLES2/gl2types.h>
-#include <GLES2/gl2ext.h>
-#include <GLES2/gles2_command_buffer.h>
+#include "base/basictypes.h"
+#define GLES2_GPU_SERVICE 1
+#include "gpu/command_buffer/service/gles2_cmd_validation.h"
+#include "gpu/command_buffer/service/gl_utils.h"
namespace gpu {
namespace gles2 {