diff options
Diffstat (limited to 'src/video/opengl.h')
-rw-r--r-- | src/video/opengl.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/video/opengl.h b/src/video/opengl.h index 59a30ad65..4a392c280 100644 --- a/src/video/opengl.h +++ b/src/video/opengl.h @@ -28,6 +28,7 @@ private: GLuint vid_pbo; ///< Pixel buffer object storing the memory used for the video driver to draw to. GLuint vid_texture; ///< Texture handle for the video buffer texture. + GLuint vid_program; ///< Shader program for rendering the video buffer. GLuint vao_quad; ///< Vertex array object storing the rendering state for the fullscreen quad. GLuint vbo_quad; ///< Vertex buffer with a fullscreen quad. @@ -35,6 +36,7 @@ private: ~OpenGLBackend(); const char *Init(); + bool InitShaders(); public: /** Get singleton instance of this class. */ |