aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-11 15:42:07 +0000
committerIOhannes m zmölnig <zmoelnig@users.sourceforge.net>2005-10-11 15:42:07 +0000
commit6faa4625cdf3e16cfb47b506566f490a8b9ae6a5 (patch)
tree61ec55dc36508b3a3e8f5229ca0221983b1c134c
parent23fd773aa51c56791278cb0c32021127db6414de (diff)
flag the output (Gem) images as upside-down (but they really should be converted to be upsideup)
svn path=/trunk/externals/gem2pdp/; revision=3694
-rw-r--r--pdp2gem.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/pdp2gem.cpp b/pdp2gem.cpp
index 8cac998..2dc51de 100644
--- a/pdp2gem.cpp
+++ b/pdp2gem.cpp
@@ -112,6 +112,7 @@ void pdp2gem :: createBuffer()
m_pixBlock.image.ysize = neededYSize;
m_pixBlock.image.csize = m_csize;
m_pixBlock.image.format= m_format;
+ m_pixBlock.image.upsidedown=1;
// +4 from MPEG
dataSize = (m_pixBlock.image.xsize * m_pixBlock.image.ysize * m_pixBlock.image.csize)+4;