summaryrefslogtreecommitdiffstats
path: root/gpu/command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gpu/command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc')
-rw-r--r--gpu/command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc
index 957b53b..fc5e2de 100644
--- a/gpu/command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc
+++ b/gpu/command_buffer/service/gles2_cmd_decoder_unittest_drawing.cc
@@ -60,7 +60,10 @@ class GLES2DecoderGeometryInstancingTest : public GLES2DecoderWithShaderTest {
void SetUp() override {
InitState init;
init.extensions = "GL_ANGLE_instanced_arrays";
- init.gl_version = "opengl es 2.0";
+ // Most of the tests in this file assume they're running on
+ // desktop OpenGL, and large portions of the tests will become
+ // no-ops if they aren't.
+ init.gl_version = "opengl 2.1";
init.has_alpha = true;
init.has_depth = true;
init.request_alpha = true;