Frees the memory used by static procedural elements
| 459 | |
| 460 | // Frees the memory used by static procedural elements |
| 461 | void FreeStaticProceduralsForTexture(int handle) { |
| 462 | if (GameTextures[handle].procedural->static_proc_elements) |
| 463 | mem_free(GameTextures[handle].procedural->static_proc_elements); |
| 464 | GameTextures[handle].procedural->static_proc_elements = NULL; |
| 465 | } |
| 466 | |
| 467 | // Given a texture handle, returns that textures bitmap |
| 468 | // If the texture is animated, returns framenum mod num_of_frames in the animation |
no outgoing calls
no test coverage detected