| 1969 | // |
| 1970 | |
| 1971 | CRefPtr<CNativeTexture> BaseRenderer::LoadTextureDirectly( const TextureInfo & ti ) |
| 1972 | { |
| 1973 | CRefPtr<CNativeTexture> texture = CTextureCache::Get()->GetOrCreateTexture( ti ); |
| 1974 | #ifdef DAEDALUS_ENABLE_ASSERTS |
| 1975 | DAEDALUS_ASSERT( texture, "texture is nullptr" ); |
| 1976 | #endif |
| 1977 | texture->InstallTexture(); |
| 1978 | |
| 1979 | mBoundTexture[0] = texture; |
| 1980 | mBoundTextureInfo[0] = ti; |
| 1981 | |
| 1982 | return texture; |
| 1983 | } |
| 1984 | |
| 1985 | |
| 1986 | // |
no test coverage detected