diff --git a/apps/openmw/mwrender/postprocessor.cpp b/apps/openmw/mwrender/postprocessor.cpp index 8fb2a2bbe9..fd3b25ae2c 100644 --- a/apps/openmw/mwrender/postprocessor.cpp +++ b/apps/openmw/mwrender/postprocessor.cpp @@ -904,7 +904,7 @@ namespace MWRender std::vector techniqueStrings; Misc::StringUtils::split(Settings::Manager::getString("chain", "Post Processing"), techniqueStrings, ","); - const std::string& mainIdentifier = "main"; + const std::string mainIdentifier = "main"; auto main = loadTechnique(mainIdentifier); diff --git a/docs/source/reference/postprocessing/omwfx.rst b/docs/source/reference/postprocessing/omwfx.rst index e828bd8e6f..4168399daa 100644 --- a/docs/source/reference/postprocessing/omwfx.rst +++ b/docs/source/reference/postprocessing/omwfx.rst @@ -173,8 +173,6 @@ The following functions can be accessed in any fragment or vertex shader. | | | | | Scene luminance is always calculated on original scene texture. | +----------------------------------------+-------------------------------------------------------------------------------+ -| ``vec4 omw_GetDepth(vec2 uv)`` | Returns non-linear normalized depth | -+----------------------------------------+-------------------------------------------------------------------------------+ | ``vec4 omw_GetLastShader(vec2 uv)`` | Returns RGBA color output of the last shader | +----------------------------------------+-------------------------------------------------------------------------------+ | ``vec4 omw_GetLastPass(vec2 uv)`` | Returns RGBA color output of the last pass |