Return the OpenGL id of a texture
| 2386 | |
| 2387 | // Return the OpenGL id of a texture |
| 2388 | GLuint Textures::returnTexture(const TextureRef& which_texture) { |
| 2389 | PROFILED_TEXTURE_MUTEX_LOCK |
| 2390 | GLuint ret = textures[which_texture.id].gl_texture_id; |
| 2391 | PROFILED_TEXTURE_MUTEX_UNLOCK |
| 2392 | return ret; |
| 2393 | } |
| 2394 | |
| 2395 | GLuint Textures::returnTexture(const TextureAssetRef& which_texture) { |
| 2396 | PROFILED_TEXTURE_MUTEX_LOCK |
no outgoing calls
no test coverage detected