mirror of
https://github.com/panda3d/panda3d.git
synced 2025-09-30 00:32:57 -04:00
Fix glstuff compilation error
This commit is contained in:
parent
375baaaabd
commit
c855049f24
@ -10858,7 +10858,7 @@ upload_texture(CLP(TextureContext) *gtc, bool force, bool uses_mipmaps) {
|
||||
gtc->_width = width;
|
||||
gtc->_height = height;
|
||||
gtc->_depth = depth;
|
||||
gtc->update_data_size_bytes(get_texture_memory_size(gtc));
|
||||
gtc->update_data_size_bytes(get_texture_memory_size(tex));
|
||||
|
||||
needs_reload = false;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user