aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/views/sdl
diff options
context:
space:
mode:
authorGravatar joshualitt <joshualitt@google.com>2015-11-11 13:17:06 -0800
committerGravatar Commit bot <commit-bot@chromium.org>2015-11-11 13:17:06 -0800
commitdad57c8c48066a2e4b270b9f6992257f7090664c (patch)
treed4402795421756e57a4436c31887eaaa0b18300c /src/views/sdl
parent2d721d33aad192cc8a7a1321504b39bdca2a57ce (diff)
bring up SDL on windows
BUG=skia: patch from issue 1432353002 at patchset 1 (http://crrev.com/1432353002#ps1) Review URL: https://codereview.chromium.org/1438003004
Diffstat (limited to 'src/views/sdl')
-rw-r--r--src/views/sdl/SkOSWindow_SDL.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/views/sdl/SkOSWindow_SDL.cpp b/src/views/sdl/SkOSWindow_SDL.cpp
index bc07745a26..8ee1e9dc65 100644
--- a/src/views/sdl/SkOSWindow_SDL.cpp
+++ b/src/views/sdl/SkOSWindow_SDL.cpp
@@ -68,7 +68,7 @@ SkOSWindow::SkOSWindow(void* screen) : fQuit(false) , fGLContext(nullptr) {
handle_error();
return;
}
- this->resize(SkIntToScalar(dm.w), SkIntToScalar(dm.h));
+ this->resize(dm.w, dm.h);
}
SkOSWindow::~SkOSWindow() {