diff options
author | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-06 06:07:20 +0100 |
---|---|---|
committer | ReinUsesLisp <reinuseslisp@airmail.cc> | 2019-01-06 20:49:24 +0100 |
commit | 5933b3ea967341eb8e891b8141015c6ecd815830 (patch) | |
tree | 3749573712dda6907dfcaa3039cc1c5fb496e59b /src/video_core/renderer_opengl/gl_stream_buffer.h | |
parent | gl_rasterizer: Use DSA for vertex array objects (diff) | |
download | yuzu-5933b3ea967341eb8e891b8141015c6ecd815830.tar yuzu-5933b3ea967341eb8e891b8141015c6ecd815830.tar.gz yuzu-5933b3ea967341eb8e891b8141015c6ecd815830.tar.bz2 yuzu-5933b3ea967341eb8e891b8141015c6ecd815830.tar.lz yuzu-5933b3ea967341eb8e891b8141015c6ecd815830.tar.xz yuzu-5933b3ea967341eb8e891b8141015c6ecd815830.tar.zst yuzu-5933b3ea967341eb8e891b8141015c6ecd815830.zip |
Diffstat (limited to '')
-rw-r--r-- | src/video_core/renderer_opengl/gl_stream_buffer.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/video_core/renderer_opengl/gl_stream_buffer.h b/src/video_core/renderer_opengl/gl_stream_buffer.h index ae7961bd7..3d18ecb4d 100644 --- a/src/video_core/renderer_opengl/gl_stream_buffer.h +++ b/src/video_core/renderer_opengl/gl_stream_buffer.h @@ -13,7 +13,7 @@ namespace OpenGL { class OGLStreamBuffer : private NonCopyable { public: - explicit OGLStreamBuffer(GLenum target, GLsizeiptr size, bool prefer_coherent = false); + explicit OGLStreamBuffer(GLsizeiptr size, bool vertex_data_usage, bool prefer_coherent = false); ~OGLStreamBuffer(); GLuint GetHandle() const; @@ -33,7 +33,6 @@ public: private: OGLBuffer gl_buffer; - GLenum gl_target; bool coherent = false; bool persistent = false; |