diff options
| author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-15 20:03:51 +0100 | 
|---|---|---|
| committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-11-15 20:03:51 +0100 | 
| commit | 9f6475e7b0698c414138e2a8140b47f01ce9c5d1 (patch) | |
| tree | 3dd74938da60a0de1a77360280c15ff8949d02cf /src/crepe/api/Texture.h | |
| parent | 424611c6016e4a189e3a887fabe8e45b637e80f4 (diff) | |
| parent | b597af6c64ccf50c7f92a2b78e7950ee3ab230f7 (diff) | |
Merge branch 'loek/wrap'
Diffstat (limited to 'src/crepe/api/Texture.h')
| -rw-r--r-- | src/crepe/api/Texture.h | 12 | 
1 files changed, 5 insertions, 7 deletions
| diff --git a/src/crepe/api/Texture.h b/src/crepe/api/Texture.h index b89bc17..6965223 100644 --- a/src/crepe/api/Texture.h +++ b/src/crepe/api/Texture.h @@ -1,8 +1,7 @@  #pragma once -// FIXME: this header can't be included because this is an API header, and SDL2 -// development headers won't be bundled with crepe. Why is this facade in the -// API namespace? +// FIXME: this header can't be included because this is an API header, and SDL2 development +// headers won't be bundled with crepe. Why is this facade in the API namespace?  #include <SDL2/SDL_render.h>  #include <functional> @@ -19,8 +18,8 @@ class Animator;   * \class Texture   * \brief Manages texture loading and properties.   * - * The Texture class is responsible for loading an image from a source - * and providing access to its dimensions. Textures can be used for rendering. + * The Texture class is responsible for loading an image from a source and providing access to + * its dimensions. Textures can be used for rendering.   */  class Texture { @@ -41,8 +40,7 @@ public:  	 * \brief Destroys the Texture instance, freeing associated resources.  	 */  	~Texture(); -	// FIXME: this constructor shouldn't be necessary because this class doesn't -	// manage memory +	// FIXME: this constructor shouldn't be necessary because this class doesn't manage memory  	/**  	 * \brief Gets the width of the texture. |