mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 16:58:40 -04:00
Fixed it so pointer textures works again. Why does clear image kill it?
This commit is contained in:
parent
447684ec4e
commit
129d70e265
@ -963,12 +963,9 @@ set_ram_mipmap_pointer(int n, void *image, size_t page_size) {
|
||||
while (n >= (int)_ram_images.size()) {
|
||||
_ram_images.push_back(RamImage());
|
||||
}
|
||||
//if (page_size == 0) {
|
||||
// page_size = image.size();
|
||||
//}
|
||||
|
||||
_ram_images[n]._page_size = page_size;
|
||||
_ram_images[n]._image.clear();
|
||||
//_ram_images[n]._image.clear(); wtf is going on?!
|
||||
_ram_images[n]._pointer_image = image;
|
||||
++_image_modified;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user