MCPcopy Create free account
hub / github.com/crawl/crawl / load_texture

Method load_texture

crawl-ref/source/tiletex.cc:38–48  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36}
37
38bool 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
50bool GenericTexture::load_texture(unsigned char *pixels, unsigned int new_width,
51 unsigned int new_height,

Callers 4

load_texturesMethod · 0.45
configure_fontMethod · 0.45
load_glyphMethod · 0.45
UIShrinkableImageMethod · 0.45

Calls 1

generate_texturesMethod · 0.80

Tested by

no test coverage detected