aboutsummaryrefslogtreecommitdiff
path: root/texture.h
diff options
context:
space:
mode:
authorHarry Jeffery <harry@exec64.co.uk>2015-11-10 22:56:07 +0000
committerHarry Jeffery <harry@exec64.co.uk>2015-11-10 22:56:07 +0000
commit09c807871055a857fd1be936fa3219d4838c1151 (patch)
tree4413fa80f257d025e5591ce26c388d70e4155023 /texture.h
parentd414db0f65ada1d2bb159029d2f02f40a8d563e2 (diff)
downloadimv-09c807871055a857fd1be936fa3219d4838c1151.tar.gz
Use C style comments
Diffstat (limited to 'texture.h')
-rw-r--r--texture.h22
1 files changed, 11 insertions, 11 deletions
diff --git a/texture.h b/texture.h
index dcedce1..4f805a2 100644
--- a/texture.h
+++ b/texture.h
@@ -24,17 +24,17 @@ CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
#include <FreeImage.h>
struct imv_texture {
- int width; //width of the texture overall
- int height; //height of the texture overall
- int num_chunks; //number of chunks allocated
- SDL_Texture **chunks; //array of chunks
- int num_chunks_wide; //number of chunks per row of the image
- int num_chunks_tall; //number of chunks per column of the image
- int chunk_width; //chunk width
- int chunk_height; //chunk height
- int last_chunk_width; //width of rightmost chunk
- int last_chunk_height; //height of bottommost chunk
- SDL_Renderer *renderer; //SDL renderer to draw to
+ int width; /* width of the texture overall */
+ int height; /* height of the texture overall */
+ int num_chunks; /* number of chunks allocated */
+ SDL_Texture **chunks; /* array of chunks */
+ int num_chunks_wide; /* number of chunks per row of the image */
+ int num_chunks_tall; /* number of chunks per column of the image */
+ int chunk_width; /* chunk width */
+ int chunk_height; /* chunk height */
+ int last_chunk_width; /* width of rightmost chunk */
+ int last_chunk_height; /* height of bottommost chunk */
+ SDL_Renderer *renderer; /* SDL renderer to draw to */
};
void imv_init_texture(struct imv_texture *tex, SDL_Renderer *r);