Fill a temp buffer for each line.

We don’t write into the memory right away, we first write to a temp
buffer that we blit into the rotated image.
This commit is contained in:
Fabien Freling 2014-07-04 08:23:06 +02:00
parent e3e0d3c20a
commit 049228b377
2 changed files with 72 additions and 42 deletions

View file

@ -1,5 +1,5 @@
CXX = clang++
CXXFLAGS = -std=c++11 -W -Wall -O3 -ffast-math #-Werror
CXXFLAGS = -std=c++11 -W -Wall -O3 -ffast-math -Werror -g
BUILD_DIR=/tmp
all: rotation.cpp