mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-01-31 04:20:34 +00:00
- Make members private that are not used outside FGLRenderBuffers
This commit is contained in:
parent
092b2953ea
commit
ebae12e74b
1 changed files with 7 additions and 8 deletions
|
@ -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
|
Loading…
Reference in a new issue