aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.Client/GameRenderer.h
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.Client/GameRenderer.h')
-rw-r--r--Minecraft.Client/GameRenderer.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Minecraft.Client/GameRenderer.h b/Minecraft.Client/GameRenderer.h
index 21cf8acb..c379106e 100644
--- a/Minecraft.Client/GameRenderer.h
+++ b/Minecraft.Client/GameRenderer.h
@@ -81,7 +81,9 @@ private:
float m_cachedGammaPerPlayer[NUM_LIGHT_TEXTURES];
static float ComputeGammaFromSlider(float slider0to100);
void CachePlayerGammas();
+public:
void ApplyGammaPostProcess() const;
+private:
bool ComputeViewportForPlayer(int j, D3D11_VIEWPORT& outViewport) const;
uint32_t BuildPlayerViewports(D3D11_VIEWPORT* outViewports, float* outGammas, UINT maxCount) const;