mirror of
https://github.com/AxioDL/metaforce.git
synced 2025-12-21 20:19:12 +00:00
Lots of bug fixes (Windows still needs some fixes)
This commit is contained in:
@@ -73,7 +73,7 @@ struct OGLParticleSwooshDataBindingFactory : TShader<CParticleSwooshShaders>::ID
|
||||
CSwooshDescription* desc = gen.GetDesc();
|
||||
|
||||
CUVElement* texr = desc->x3c_TEXR.get();
|
||||
boo::ITexture* textures[] = {texr->GetValueTexture(0).GetObj()->GetBooTexture()};
|
||||
boo::ITexture* textures[] = {texr ? texr->GetValueTexture(0).GetObj()->GetBooTexture() : nullptr};
|
||||
|
||||
const boo::VertexElementDescriptor VtxFmt[] =
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user