diff options
Diffstat (limited to 'demos/embedded/raycasting/raycasting.cpp')
-rw-r--r-- | demos/embedded/raycasting/raycasting.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/demos/embedded/raycasting/raycasting.cpp b/demos/embedded/raycasting/raycasting.cpp index e98dc35..3836dc1 100644 --- a/demos/embedded/raycasting/raycasting.cpp +++ b/demos/embedded/raycasting/raycasting.cpp @@ -254,6 +254,7 @@ protected: void paintEvent(QPaintEvent *event) { QPainter p(this); + p.setCompositionMode(QPainter::CompositionMode_Source); p.drawImage(event->rect(), buffer, event->rect()); } |