diff options
author | Harry Jeffery <harry@exec64.co.uk> | 2015-11-10 22:56:07 +0000 |
---|---|---|
committer | Harry Jeffery <harry@exec64.co.uk> | 2015-11-10 22:56:07 +0000 |
commit | 09c807871055a857fd1be936fa3219d4838c1151 (patch) | |
tree | 4413fa80f257d025e5591ce26c388d70e4155023 /texture.h | |
parent | d414db0f65ada1d2bb159029d2f02f40a8d563e2 (diff) | |
download | imv-09c807871055a857fd1be936fa3219d4838c1151.tar.gz |
Use C style comments
Diffstat (limited to 'texture.h')
-rw-r--r-- | texture.h | 22 |
1 files changed, 11 insertions, 11 deletions
@@ -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); |