@@ -369,7 +369,7 @@ BearFactoryPointer<BearRHI::BearRHIShader> XRayResourcesManager::GetPixelShader(
369369 Defines[" MESH_SHADER_DEBUG" ] = " 1" ;
370370 }
371371 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, " " , " " ))
373373 {
374374 Msg (TEXT (" ------------------------------------------------------------------------" ));
375375 Msg (*out);
@@ -447,7 +447,7 @@ BearFactoryPointer<BearRHI::BearRHIShader> XRayResourcesManager::GetVertexShader
447447 Defines[" MESH_SHADER_DEBUG" ] = " 1" ;
448448 }
449449 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, " " , " " ))
451451 {
452452 Msg (TEXT (" ------------------------------------------------------------------------" ));
453453 Msg (*out);
@@ -526,7 +526,7 @@ BearFactoryPointer<BearRHI::BearRHIShader> XRayResourcesManager::GetMeshShader(s
526526
527527 BearString out;
528528 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, " " , " " ))
530530 {
531531 Msg (TEXT (" ------------------------------------------------------------------------" ));
532532 Msg (*out);
0 commit comments