From 54e2e74c2a497ba20a29cfc4567ddc8ec52cfd3b Mon Sep 17 00:00:00 2001 From: "glassmancody.info" Date: Sat, 25 Jun 2022 22:41:03 -0700 Subject: [PATCH] quickfix --- apps/openmw/mwrender/postprocessor.cpp | 2 +- docs/source/reference/postprocessing/omwfx.rst | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) 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 |