diff options
Diffstat (limited to 'demos/embedded/lightmaps')
-rw-r--r-- | demos/embedded/lightmaps/lightmaps.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/demos/embedded/lightmaps/lightmaps.cpp b/demos/embedded/lightmaps/lightmaps.cpp index fdb86fd..6ad2020 100644 --- a/demos/embedded/lightmaps/lightmaps.cpp +++ b/demos/embedded/lightmaps/lightmaps.cpp @@ -269,6 +269,7 @@ public: m_normalMap->latitude = lat; m_normalMap->longitude = lng; m_normalMap->invalidate(); + m_largeMap->invalidate(); } public slots: @@ -300,6 +301,9 @@ protected: m_normalMap->width = width(); m_normalMap->height = height(); m_normalMap->invalidate(); + m_largeMap->width = m_normalMap->width * 2; + m_largeMap->height = m_normalMap->height * 2; + m_largeMap->invalidate(); } void paintEvent(QPaintEvent *event) { |