Searched refs:bytes_of_surface (Results 1 – 1 of 1) sorted by relevance
1902 uint32_t bytes_of_surface = ystride * dim_z; in load_dds_uncompressed_image() local1904 uint8_t *buf = new uint8_t[bytes_of_surface]; in load_dds_uncompressed_image()1905 size_t bytes_read = fread(buf, 1, bytes_of_surface, f); in load_dds_uncompressed_image()1907 if (bytes_read != bytes_of_surface) in load_dds_uncompressed_image()