summaryrefslogtreecommitdiffstats
path: root/gpu/demos
diff options
context:
space:
mode:
authorjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 19:17:41 +0000
committerjbauman@chromium.org <jbauman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-03-14 19:17:41 +0000
commitc410da80a6f24f4f81d489cf67ca79ef18ad72ae (patch)
tree6bd0160358540a08ea0a0e742a37dbf82f449754 /gpu/demos
parent7a6237765bb6be1e1cd8342988eb7a68fa1625a2 (diff)
downloadchromium_src-c410da80a6f24f4f81d489cf67ca79ef18ad72ae.zip
chromium_src-c410da80a6f24f4f81d489cf67ca79ef18ad72ae.tar.gz
chromium_src-c410da80a6f24f4f81d489cf67ca79ef18ad72ae.tar.bz2
Connect up --disable-gl-multisampling to command buffer
Plumb the --disable-gl-multisampling flag in to the command buffer, so it won't report the extension to any consumers. BUG=75181 TEST=webgl antialias test Review URL: http://codereview.chromium.org/6686024 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@78067 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gpu/demos')
-rw-r--r--gpu/demos/framework/window.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/gpu/demos/framework/window.cc b/gpu/demos/framework/window.cc
index 825025ef..1440110 100644
--- a/gpu/demos/framework/window.cc
+++ b/gpu/demos/framework/window.cc
@@ -61,7 +61,9 @@ bool Window::CreateRenderContext(gfx::PluginWindowHandle hwnd) {
GPUProcessor* gpu_processor(
new GPUProcessor(command_buffer.get(), NULL));
- if (!gpu_processor->Initialize(hwnd, gfx::Size(), NULL, std::vector<int32>(),
+ if (!gpu_processor->Initialize(hwnd, gfx::Size(),
+ gpu::gles2::DisallowedExtensions(),
+ NULL, std::vector<int32>(),
NULL, 0)) {
return false;
}