| 132 | } |
| 133 | |
| 134 | void BaseRenderer::CreateContext() |
| 135 | { |
| 136 | OnContextCreate(); |
| 137 | |
| 138 | m_contextCounter++; |
| 139 | uint8_t constexpr kContextCount = 2; |
| 140 | if (m_contextCounter == kContextCount && m_onGraphicsContextInitialized) |
| 141 | m_onGraphicsContextInitialized(); |
| 142 | } |
| 143 | |
| 144 | void BaseRenderer::CheckRenderingEnabled() |
| 145 | { |