2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 13:04:56 +00:00

Metal Cubemaps

This commit is contained in:
Jack Andersen
2019-06-02 21:51:44 -10:00
parent 4a4cf58b6f
commit 5e60131062
4 changed files with 23 additions and 10 deletions

View File

@@ -46,6 +46,7 @@ static void UpdatePercent(float percent)
}
- (void)prepareOpenGL
{
[super prepareOpenGL];
s_task = std::thread([self](){
[[self openGLContext] makeCurrentContext];
m_renderer->Run(UpdatePercent);