@@ -369,7 +369,7 @@ BearFactoryPointer<BearRHI::BearRHIShader> XRayResourcesManager::GetPixelShader(
369
369
Defines[" MESH_SHADER_DEBUG" ] = " 1" ;
370
370
}
371
371
XRayShaderIncluder Includer (::Render->getShaderPath (), local_path);
372
- if (!shader->LoadAsText (Text.c_str (),TEXT (" Main" ), Defines, out,&Includer))
372
+ if (!shader->LoadAsText (Text.c_str (),TEXT (" Main" ), Defines, out,&Includer, " " , " " ))
373
373
{
374
374
Msg (TEXT (" ------------------------------------------------------------------------" ));
375
375
Msg (*out);
@@ -447,7 +447,7 @@ BearFactoryPointer<BearRHI::BearRHIShader> XRayResourcesManager::GetVertexShader
447
447
Defines[" MESH_SHADER_DEBUG" ] = " 1" ;
448
448
}
449
449
XRayShaderIncluder Includer (::Render->getShaderPath (), local_path);
450
- if (!shader->LoadAsText (Text.c_str (), TEXT (" Main" ), Defines, out, &Includer))
450
+ if (!shader->LoadAsText (Text.c_str (), TEXT (" Main" ), Defines, out, &Includer, " " , " " ))
451
451
{
452
452
Msg (TEXT (" ------------------------------------------------------------------------" ));
453
453
Msg (*out);
@@ -526,7 +526,7 @@ BearFactoryPointer<BearRHI::BearRHIShader> XRayResourcesManager::GetMeshShader(s
526
526
527
527
BearString out;
528
528
XRayShaderIncluder Includer (::Render->getShaderPath (), local_path);
529
- if (!shader->LoadAsText (Text.c_str (), TEXT (" Main" ), Defines, out, &Includer))
529
+ if (!shader->LoadAsText (Text.c_str (), TEXT (" Main" ), Defines, out, &Includer, " " , " " ))
530
530
{
531
531
Msg (TEXT (" ------------------------------------------------------------------------" ));
532
532
Msg (*out);
0 commit comments