pstats tracking async loads

This commit is contained in:
David Rose 2008-08-13 16:10:28 +00:00
parent 07f89fbfc2
commit 75de7a30c9
1 changed files with 4 additions and 0 deletions

View File

@ -7536,6 +7536,10 @@ upload_simple_texture(CLP(TextureContext) *gtc) {
}
}
#ifdef DO_PSTATS
_data_transferred_pcollector.add_level(image_size);
#endif
GLP(TexImage2D)(GL_TEXTURE_2D, 0, internal_format,
width, height, 0,
external_format, component_type, image_ptr);