Codechange: [OpenGL] Use a vertex buffer object to store the vertex data for the video buffer.

This commit is contained in:
Michael Lutz
2021-01-16 16:43:13 +01:00
parent 8706c36fc0
commit acf2ce35f7
2 changed files with 58 additions and 5 deletions

View File

@@ -27,6 +27,7 @@ private:
void *vid_buffer; ///< Pointer to the memory used for the video driver to draw to.
GLuint vid_texture; ///< Texture handle for the video buffer texture.
GLuint vbo_quad; ///< Vertex buffer with a fullscreen quad.
OpenGLBackend();
~OpenGLBackend();