| 106 | } |
| 107 | |
| 108 | Tr2RenderContextBase::Tr2RenderContextBase( Tr2RenderContext& renderContext ) : |
| 109 | m_esm( renderContext ) |
| 110 | { |
| 111 | m_esm.Initialize(); |
| 112 | #if !TRINITY_PLATFORM_HAS_PRIMARY_CONTEXT |
| 113 | m_backBuffer.CreateInstance(); |
| 114 | m_backBuffer->SetName( "backbuffer" ); |
| 115 | #endif |
| 116 | m_objectIdVariable = GlobalStore().RegisterVariable( "objectId", 0.0f ); |
| 117 | m_areaIdVariable = GlobalStore().RegisterVariable( "areaId", 0.0f ); |
| 118 | } |
| 119 | |
| 120 | using namespace Tr2RenderContextEnum; |
| 121 |
nothing calls this directly
no test coverage detected