summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client/gles2_demo_cc.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/client/gles2_demo_cc.cc')
-rw-r--r--gpu/command_buffer/client/gles2_demo_cc.cc7
1 files changed, 5 insertions, 2 deletions
diff --git a/gpu/command_buffer/client/gles2_demo_cc.cc b/gpu/command_buffer/client/gles2_demo_cc.cc
index 43115ef..acb5be3 100644
--- a/gpu/command_buffer/client/gles2_demo_cc.cc
+++ b/gpu/command_buffer/client/gles2_demo_cc.cc
@@ -9,10 +9,13 @@
#include "gpu/command_buffer/common/logging.h"
#include <math.h>
-#include <GLES2/gl2.h>
-
#include <string>
+// This is here so we have at least some idea that the inline path is working.
+#define GLES2_INLINE_OPTIMIZATION
+#include <GLES2/gl2.h>
+#include "gpu/command_buffer/common/logging.h"
+
namespace {
GLuint g_texture = 0;