summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/client
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/client')
-rw-r--r--gpu/command_buffer/client/gles2_demo_cc.cc5
-rw-r--r--gpu/command_buffer/client/gles2_implementation.cc4
2 files changed, 4 insertions, 5 deletions
diff --git a/gpu/command_buffer/client/gles2_demo_cc.cc b/gpu/command_buffer/client/gles2_demo_cc.cc
index b4c6239..0478e32 100644
--- a/gpu/command_buffer/client/gles2_demo_cc.cc
+++ b/gpu/command_buffer/client/gles2_demo_cc.cc
@@ -10,8 +10,6 @@
namespace {
-int g_width = 512;
-int g_height = 512;
GLuint g_texture = 0;
int g_textureLoc = -1;
GLuint g_programObject = 0;
@@ -189,6 +187,3 @@ void GLFromCPPTestFunction() {
}
Draw();
}
-
-
-
diff --git a/gpu/command_buffer/client/gles2_implementation.cc b/gpu/command_buffer/client/gles2_implementation.cc
index 576a1e6..f792977 100644
--- a/gpu/command_buffer/client/gles2_implementation.cc
+++ b/gpu/command_buffer/client/gles2_implementation.cc
@@ -17,6 +17,10 @@ static GLuint ToGLuint(const void* ptr) {
return static_cast<GLuint>(reinterpret_cast<size_t>(ptr));
}
+#if !defined(COMPILER_MSVC)
+const size_t GLES2Implementation::kMaxSizeOfSimpleResult;
+#endif
+
GLES2Implementation::GLES2Implementation(
GLES2CmdHelper* helper,
size_t transfer_buffer_size,