diff options
author | Subv <subv2112@gmail.com> | 2018-05-19 18:36:38 +0200 |
---|---|---|
committer | Subv <subv2112@gmail.com> | 2018-05-19 18:36:38 +0200 |
commit | 98b143c2d6f6e0bc2402333968fba3e42ac8f2b9 (patch) | |
tree | 7cf4f39c02715c043d35dfeb04d8c103af63c596 /src/video_core/renderer_opengl/gl_rasterizer.cpp | |
parent | GLRenderer: Remove unused vertex buffer and increase the size of the stream buffer to 128 MB. (diff) | |
download | yuzu-98b143c2d6f6e0bc2402333968fba3e42ac8f2b9.tar yuzu-98b143c2d6f6e0bc2402333968fba3e42ac8f2b9.tar.gz yuzu-98b143c2d6f6e0bc2402333968fba3e42ac8f2b9.tar.bz2 yuzu-98b143c2d6f6e0bc2402333968fba3e42ac8f2b9.tar.lz yuzu-98b143c2d6f6e0bc2402333968fba3e42ac8f2b9.tar.xz yuzu-98b143c2d6f6e0bc2402333968fba3e42ac8f2b9.tar.zst yuzu-98b143c2d6f6e0bc2402333968fba3e42ac8f2b9.zip |
Diffstat (limited to 'src/video_core/renderer_opengl/gl_rasterizer.cpp')
-rw-r--r-- | src/video_core/renderer_opengl/gl_rasterizer.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/video_core/renderer_opengl/gl_rasterizer.cpp b/src/video_core/renderer_opengl/gl_rasterizer.cpp index 39546b7ef..35c1b1890 100644 --- a/src/video_core/renderer_opengl/gl_rasterizer.cpp +++ b/src/video_core/renderer_opengl/gl_rasterizer.cpp @@ -87,7 +87,6 @@ RasterizerOpenGL::RasterizerOpenGL() { framebuffer.Create(); hw_vao.Create(); - hw_vao_enabled_attributes.fill(false); stream_buffer = OGLStreamBuffer::MakeBuffer(has_ARB_buffer_storage, GL_ARRAY_BUFFER); stream_buffer->Create(STREAM_BUFFER_SIZE, STREAM_BUFFER_SIZE / 2); @@ -178,8 +177,6 @@ std::pair<u8*, GLintptr> RasterizerOpenGL::SetupVertexArrays(u8* array_ptr, glVertexAttribFormat(index, attrib.ComponentCount(), MaxwellToGL::VertexType(attrib), attrib.IsNormalized() ? GL_TRUE : GL_FALSE, attrib.offset); glVertexAttribBinding(index, attrib.buffer); - - hw_vao_enabled_attributes[index] = true; } return {array_ptr, buffer_offset}; |