| 36 | } |
| 37 | |
| 38 | bool GenericTexture::load_texture(const char *filename, |
| 39 | MipMapOptions mip_opt, |
| 40 | tex_proc_func proc, |
| 41 | bool force_power_of_two) |
| 42 | { |
| 43 | bool success = false; |
| 44 | success = wm->load_texture(this, filename, mip_opt, m_orig_width, |
| 45 | m_orig_height, proc, force_power_of_two); |
| 46 | |
| 47 | return success; |
| 48 | } |
| 49 | |
| 50 | bool GenericTexture::load_texture(unsigned char *pixels, unsigned int new_width, |
| 51 | unsigned int new_height, |
no test coverage detected