- Make members private that are not used outside FGLRenderBuffers

This commit is contained in:
Magnus Norddahl 2018-07-03 23:35:34 +02:00
parent 092b2953ea
commit ebae12e74b
1 changed files with 7 additions and 8 deletions

View File

@ -1,5 +1,5 @@
#ifndef __GL_RENDERBUFFERS_H
#define __GL_RENDERBUFFERS_H
#pragma once
#include "gl/shaders/gl_shader.h"
#include "hwrenderer/postprocessing/hw_postprocess.h"
@ -68,10 +68,6 @@ public:
void CompileEffectShaders();
void RenderEffect(const FString &name);
TMap<PPTextureName, PPGLTexture> GLTextures;
TMap<PPTextureName, PPGLFrameBuffer> GLTextureFBs;
TMap<PPShaderName, std::shared_ptr<FShaderProgram>> GLShaders;
void BindSceneFB(bool sceneData);
void BindSceneColorTexture(int index);
void BindSceneFogTexture(int index);
@ -161,7 +157,10 @@ private:
PPGLFrameBuffer mShadowMapFB;
int mCurrentShadowMapSize = 0;
// Postprocess OpenGL objects
TMap<PPTextureName, PPGLTexture> GLTextures;
TMap<PPTextureName, PPGLFrameBuffer> GLTextureFBs;
TMap<PPShaderName, std::shared_ptr<FShaderProgram>> GLShaders;
static bool FailedCreate;
};
#endif