Searched refs:tex_bytes (Results 1 – 3 of 3) sorted by relevance
48 char *tex_bytes; in Create() local73 tex_bytes = new char[num_tex_bytes]; in Create()74 input.read(tex_bytes, num_tex_bytes); in Create()86 (void *)tex_bytes); in Create()89 delete[] tex_bytes; in Create()
51 char *tex_bytes; in Create() local100 tex_bytes = new char[num_tex_bytes]; in Create()102 bb.read(tex_bytes, std::min(num_tex_bytes, bb.readable())); in Create()118 (void *)tex_bytes); in Create()135 delete[] tex_bytes; in Create()
100 unsigned int tex_bytes = tex_width * tex_height * 4; in load_func() local101 unsigned char *tex_data = malloc(tex_bytes); in load_func()114 memset(tex_data, color, tex_bytes); in load_func()