Fix some doxygen errors.

This commit is contained in:
Tommy 2022-06-06 15:29:13 +12:00
parent 0db98a9c2a
commit 0093d64296
2 changed files with 7 additions and 5 deletions

View file

@ -981,7 +981,11 @@ public:
* @param dest The target destination on screen,
* in drawing coordinates.
* @param tex The texture to use.
* @param clip
* @param clip The portion of the source texture to use.
* @param hflip If true, flip the image horizontally.
* @param vflip If true, flip the image vertically.
* @param alpha_mod An alpha modifier to apply - multiplies
* texture alpha by this value when drawing.
*/
void drawing_buffer_add(const drawing_layer layer,
const map_location& loc, const SDL_Rect& dest, const texture& tex,

View file

@ -339,13 +339,11 @@ private:
*
* @param viewport The new viewport region, relative to the current
* viewport.
* @param clip If true, the clipping region will also be set to
* the new viewport.
* @returns A viewport_setter object. When this object is
* destroyed the viewport will be restored to whatever
* it was before this call.
*/
viewport_setter set_viewport(const SDL_Rect&);
viewport_setter set_viewport(const SDL_Rect& viewport);
/**
* Set the viewport, without any provided way of setting it back.
@ -356,7 +354,7 @@ viewport_setter set_viewport(const SDL_Rect&);
* @param viewport The viewport, in absolute draw-space coordinates.
* If null, the viewport is reset to the full draw area.
*/
void force_viewport(const SDL_Rect&);
void force_viewport(const SDL_Rect& viewport);
/**
* Get the current viewport.