diff options
author | Michael Lutz <michi@icosahedron.de> | 2021-01-16 16:43:13 +0100 |
---|---|---|
committer | Michael Lutz <michi@icosahedron.de> | 2021-02-22 22:16:07 +0100 |
commit | acf2ce35f736bf9e3c582ae89cc816a4413ee837 (patch) | |
tree | ff845f70d575a7f8b2f77fcceab80a4326f1c4ea /src/video/opengl.h | |
parent | 8706c36fc04fde7308cf6f2ec1ef07dc6827e775 (diff) | |
download | openttd-acf2ce35f736bf9e3c582ae89cc816a4413ee837.tar.xz |
Codechange: [OpenGL] Use a vertex buffer object to store the vertex data for the video buffer.
Diffstat (limited to 'src/video/opengl.h')
-rw-r--r-- | src/video/opengl.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/video/opengl.h b/src/video/opengl.h index 80555ca0b..15dc390b7 100644 --- a/src/video/opengl.h +++ b/src/video/opengl.h @@ -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(); |