diff options
author | 2015-11-11 13:17:06 -0800 | |
---|---|---|
committer | 2015-11-11 13:17:06 -0800 | |
commit | dad57c8c48066a2e4b270b9f6992257f7090664c (patch) | |
tree | d4402795421756e57a4436c31887eaaa0b18300c /src/views/sdl/SkOSWindow_SDL.cpp | |
parent | 2d721d33aad192cc8a7a1321504b39bdca2a57ce (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/SkOSWindow_SDL.cpp')
-rw-r--r-- | src/views/sdl/SkOSWindow_SDL.cpp | 2 |
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() { |