diff options
author | richiesams | 2013-08-17 09:46:18 -0500 |
---|---|---|
committer | richiesams | 2013-08-18 19:52:53 -0500 |
commit | e769164f791d19b69cbe7cb0be99fc474c562ed4 (patch) | |
tree | b1e8f97c97fa531ee4bf99b3f3df46b373f14772 /engines/zvision/render_table.h | |
parent | 7d24f46e7e2c7d6322b2842d349986dc484eb063 (diff) | |
download | scummvm-rg350-e769164f791d19b69cbe7cb0be99fc474c562ed4.tar.gz scummvm-rg350-e769164f791d19b69cbe7cb0be99fc474c562ed4.tar.bz2 scummvm-rg350-e769164f791d19b69cbe7cb0be99fc474c562ed4.zip |
ZVISION: Render images by specifying a destination and then clipping
Instead of specifying a subRect. This also reverts the code that rendered to a
backbuffer and then did a full backbuffer warp. Wrapping is done in the RenderTable
Diffstat (limited to 'engines/zvision/render_table.h')
-rw-r--r-- | engines/zvision/render_table.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/zvision/render_table.h b/engines/zvision/render_table.h index 7c04564cd0..bbf5e1b22a 100644 --- a/engines/zvision/render_table.h +++ b/engines/zvision/render_table.h @@ -66,7 +66,7 @@ public: const Common::Point convertWarpedCoordToFlatCoord(const Common::Point &point); - void mutateImage(uint16 *sourceBuffer, uint16* destBuffer, uint32 imageWidth, uint32 imageHeight); + void mutateImage(uint16 *sourceBuffer, uint16* destBuffer, int16 imageWidth, int16 imageHeight, int16 destinationX, int16 destinationY, const Common::Rect &subRect, bool wrap, bool isTransposed); void generateRenderTable(); void setPanoramaFoV(float fov); |