Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(550)

Unified Diff: ui/surface/accelerated_surface_win.cc

Issue 10843020: win: Drop extra triangles in triangle fan used to flip image transport surface. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 8 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/surface/accelerated_surface_win.cc
===================================================================
--- ui/surface/accelerated_surface_win.cc (revision 149334)
+++ ui/surface/accelerated_surface_win.cc (working copy)
@@ -820,7 +820,7 @@
present_thread_->device()->BeginScene();
present_thread_->device()->DrawPrimitiveUP(D3DPT_TRIANGLEFAN,
- arraysize(vertices),
+ 2,
vertices,
sizeof(vertices[0]));
present_thread_->device()->EndScene();
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698