Explorar o código

iOS: Msaa and default back buffer are the same.

bkaradzic %!s(int64=12) %!d(string=hai) anos
pai
achega
2e086e32b3
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      src/renderer_gl.cpp

+ 1 - 0
src/renderer_gl.cpp

@@ -434,6 +434,7 @@ namespace bgfx
 #if BX_PLATFORM_IOS
 #if BX_PLATFORM_IOS
 					// BK - Temp, need to figure out how to deal with FBO created by context.
 					// BK - Temp, need to figure out how to deal with FBO created by context.
 					m_backBufferFbo = m_glctx.m_fbo;
 					m_backBufferFbo = m_glctx.m_fbo;
+					m_msaaBackBufferFbo = m_glctx.m_fbo;
 #endif // BX_PLATFORM_IOS
 #endif // BX_PLATFORM_IOS
 				}
 				}
 				else
 				else