summaryrefslogtreecommitdiff
path: root/src/screenshot.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/screenshot.cpp')
-rw-r--r--src/screenshot.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/screenshot.cpp b/src/screenshot.cpp
index 1e7a45645..700a06566 100644
--- a/src/screenshot.cpp
+++ b/src/screenshot.cpp
@@ -708,7 +708,7 @@ static bool MakeSmallScreenshot(bool crashlog)
/**
* Configure a ViewPort for rendering (a part of) the map into a screenshot.
* @param t Screenshot type
- * @param [out] vp Result viewport
+ * @param[out] vp Result viewport
*/
void SetupScreenshotViewport(ScreenshotType t, ViewPort *vp)
{
@@ -764,7 +764,7 @@ static bool MakeLargeWorldScreenshot(ScreenshotType t)
/**
* Callback for generating a heightmap. Supports 8bpp grayscale only.
* @param userdata Pointer to user data.
- * @param buf Destination buffer.
+ * @param buffer Destination buffer.
* @param y Line number of the first line to write.
* @param pitch Number of pixels to write (1 byte for 8bpp, 4 bytes for 32bpp). @see Colour
* @param n Number of lines to write.