Fix glstuff compilation error

This commit is contained in:
rdb 2016-01-27 17:14:32 +01:00
parent 375baaaabd
commit c855049f24

View File

@ -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;
}