mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-08 14:24:56 +00:00
Initial support for asynchronous shader compilation
This commit is contained in:
@@ -357,6 +357,7 @@ void CMain::InitializeSubsystems() {
|
||||
CAnimData::InitializeCache();
|
||||
CDecalManager::Initialize();
|
||||
CGBASupport::Initialize();
|
||||
CGraphics::g_BooFactory->waitUntilShadersReady();
|
||||
}
|
||||
|
||||
void CMain::MemoryCardInitializePump() {
|
||||
|
||||
@@ -2,7 +2,6 @@
|
||||
|
||||
#include "Weapon/CGameProjectile.hpp"
|
||||
#include "Particle/CFlameWarp.hpp"
|
||||
#include "Graphics/Shaders/CAABoxShader.hpp"
|
||||
|
||||
namespace urde {
|
||||
class CFlameInfo;
|
||||
|
||||
@@ -150,7 +150,7 @@ bool CPFRegion::FindBestPoint(std::vector<zeus::CVector3f>& polyPoints, const ze
|
||||
|
||||
if (!isFlyer) {
|
||||
polyPoints.clear();
|
||||
for (u32 i = x0_numNodes - 1; i >= 0; --i) {
|
||||
for (int i = int(x0_numNodes) - 1; i >= 0; --i) {
|
||||
CPFNode& node = x4_startNode[i];
|
||||
polyPoints.push_back(node.GetPos());
|
||||
polyPoints.back().z() += x14_height;
|
||||
|
||||
2
hecl
2
hecl
Submodule hecl updated: 6caf187e32...8085bc9675
2
specter
2
specter
Submodule specter updated: d4a4c42537...fac824cb79
Reference in New Issue
Block a user