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

Unified Diff: core/cross/gl/renderer_gl.cc

Issue 208037: Added command buffer unit tests to gyp.... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/o3d/
Patch Set: '' Created 11 years, 3 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 | « core/core.gyp ('k') | import/cross/precompile.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: core/cross/gl/renderer_gl.cc
===================================================================
--- core/cross/gl/renderer_gl.cc (revision 26702)
+++ core/cross/gl/renderer_gl.cc (working copy)
@@ -1190,7 +1190,7 @@
int vieport_top =
RenderSurfaceActive() ? top : display_height() - top - height;
::glViewport(left, vieport_top, width, height);
- UpdateHelperConstant(width, height);
+ UpdateHelperConstant(static_cast<float>(width), static_cast<float>(height));
// If it's the full client area turn off scissor test for speed.
if (left == 0 &&
« no previous file with comments | « core/core.gyp ('k') | import/cross/precompile.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698