Definition at line 180 of file OglImageCache.h. References mImages, and UpdateLRU(). Referenced by AddNoScalingTextured(). 00181 { 00182 OGLIMAGE* im; 00183 for (int i=0; i<mImages.size(); i++) 00184 { 00185 if ((im = mImages[i]->first) && im->refCount==1 && 00186 im->texture && im->texW == texW && im->texH == texH) 00187 { 00188 UpdateLRU(i); 00189 return mImages[i]; 00190 } 00191 } 00192 return 0; 00193 }
Here is the call graph for this function:
|