mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-08-11 02:28:51 +00:00
Merge pull request #1322 from degasus/ogl-pp
OGL: force enable postprocessing
This commit is contained in:
commit
bc26cb1b19
7 changed files with 45 additions and 135 deletions
|
@ -22,16 +22,15 @@ public:
|
|||
OpenGLPostProcessing();
|
||||
~OpenGLPostProcessing();
|
||||
|
||||
void BindTargetFramebuffer() override;
|
||||
void BlitToScreen() override;
|
||||
void Update(u32 width, u32 height) override;
|
||||
void BlitFromTexture(TargetRectangle src, TargetRectangle dst,
|
||||
int src_texture, int src_width, int src_height) override;
|
||||
void ApplyShader() override;
|
||||
|
||||
private:
|
||||
GLuint m_fbo;
|
||||
GLuint m_texture;
|
||||
bool m_initialized;
|
||||
SHADER m_shader;
|
||||
GLuint m_uniform_resolution;
|
||||
GLuint m_uniform_src_rect;
|
||||
GLuint m_uniform_time;
|
||||
std::string m_glsl_header;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue