Frees all the bumpmaps associated with a texture
| 727 | |
| 728 | // Frees all the bumpmaps associated with a texture |
| 729 | void FreeTextureBumpmaps(int tex_handle) { |
| 730 | ASSERT(GameTextures[tex_handle].used > 0); |
| 731 | |
| 732 | if (GameTextures[tex_handle].bumpmap != -1) { |
| 733 | bump_FreeBumpmap(GameTextures[tex_handle].bumpmap); |
| 734 | GameTextures[tex_handle].bumpmap = -1; |
| 735 | } |
| 736 | } |
| 737 | |
| 738 | // Builds the bumpmaps for the past in texture |
| 739 | void BuildTextureBumpmaps(int texhandle) { |
no test coverage detected