Index: src/views/sdl/SkOSWindow_SDL.cpp |
diff --git a/src/views/sdl/SkOSWindow_SDL.cpp b/src/views/sdl/SkOSWindow_SDL.cpp |
index bc07745a26555cb5608593acd5ad26584d05c7e2..8ee1e9dc6507633740446e2065c09118ad514230 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() { |