From: smoki <smo...@gm...> - 2007-11-15 05:17:36
|
OK i comment out those two also: if (tex) { /* reference new texture */ assert(valid_texture_object(tex)); /*_glthread_LOCK_MUTEX(tex->Mutex);*/ if (tex->RefCount == 0) { /* this texture's being deleted (look just above) */ /* Not sure this can every really happen. Warn if it does. */ _mesa_problem(NULL, "referencing deleted texture object"); *ptr = NULL; } else { tex->RefCount++; *ptr = tex; } /*_glthread_UNLOCK_MUTEX(tex->Mutex);*/ } but it not restore performance :(. I try to change extern void to static INLINE void of _mesa_reference_texobj() in texobj.h, but in compile time it said that something not defined? Maybe, i'm doing something wrong, because i don't understand what exactly to move or do i need to delete that function from .c when i move it to .h :). -- View this message in context: http://www.nabble.com/Problems-with-Mesa-7.0.2-tf4784864.html#a13761132 Sent from the mesa3d-users mailing list archive at Nabble.com. |