aboutsummaryrefslogtreecommitdiff
path: root/engines/sci
diff options
context:
space:
mode:
authorColin Snover2017-07-22 23:27:24 -0500
committerColin Snover2017-07-23 10:35:13 -0500
commitdabcacb0ca2157e1b82c52cb5b2f54549c9e77f9 (patch)
tree106191d209b6d0f8b50ba7603ed7a0f128a89eb9 /engines/sci
parent8d32353394ce4aa750e54becc3f2d2e375b3963d (diff)
downloadscummvm-rg350-dabcacb0ca2157e1b82c52cb5b2f54549c9e77f9.tar.gz
scummvm-rg350-dabcacb0ca2157e1b82c52cb5b2f54549c9e77f9.tar.bz2
scummvm-rg350-dabcacb0ca2157e1b82c52cb5b2f54549c9e77f9.zip
SCI32: Add missing method documentation
Diffstat (limited to 'engines/sci')
-rw-r--r--engines/sci/graphics/frameout.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/sci/graphics/frameout.h b/engines/sci/graphics/frameout.h
index d94689be5b..ddaa17ca3d 100644
--- a/engines/sci/graphics/frameout.h
+++ b/engines/sci/graphics/frameout.h
@@ -305,6 +305,9 @@ public:
*/
void updateScreen(const int delta = 0);
+ /**
+ * Resets the pixel format of the hardware surface to the given format.
+ */
void setPixelFormat(const Graphics::PixelFormat &format) const {
initGraphics(_currentBuffer.screenWidth, _currentBuffer.screenHeight, _isHiRes, &format);
}