diff --git a/src/she/osx/window.mm b/src/she/osx/window.mm index aa2a11205..deed7c90a 100644 --- a/src/she/osx/window.mm +++ b/src/she/osx/window.mm @@ -1,5 +1,5 @@ // SHE library -// Copyright (C) 2012-2016 David Capello +// Copyright (C) 2012-2017 David Capello // // This file is released under the terms of the MIT license. // Read LICENSE.txt for more information. @@ -173,52 +173,53 @@ using namespace she; const int w = scale*surface->width(); const int h = scale*surface->height(); - std::vector buf(4*w*h); - uint32_t* bits = &buf[0]; - - for (int y=0; ygetData(0, y/scale); - for (int x=0, u=0; xgetData(0, y/scale); + for (int x=0, u=0; x