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

Unified Diff: remoting/client/gl_cursor_feedback.cc

Issue 2255663002: [Remoting Android] Use floating point coords for rendering the cursor (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge ToT Created 4 years, 4 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 | « remoting/client/gl_cursor_feedback.h ('k') | remoting/client/gl_renderer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/gl_cursor_feedback.cc
diff --git a/remoting/client/gl_cursor_feedback.cc b/remoting/client/gl_cursor_feedback.cc
index 4befc88c32dbe30f3bf1b45f1a83051a0aa00d0d..8306933013e18f2919a50b45db7ba4c878fe731a 100644
--- a/remoting/client/gl_cursor_feedback.cc
+++ b/remoting/client/gl_cursor_feedback.cc
@@ -36,7 +36,7 @@ void GlCursorFeedback::SetCanvas(GlCanvas* canvas) {
GlCursorFeedbackTexture::kTextureWidth, 0);
}
-void GlCursorFeedback::StartAnimation(int x, int y, float diameter) {
+void GlCursorFeedback::StartAnimation(float x, float y, float diameter) {
cursor_x_ = x;
cursor_y_ = y;
max_diameter_ = diameter;
« no previous file with comments | « remoting/client/gl_cursor_feedback.h ('k') | remoting/client/gl_renderer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698