mirror of
https://github.com/MaSzyna-EU07/maszyna.git
synced 2026-07-21 22:59:19 +02:00
work
This commit is contained in:
@@ -302,7 +302,7 @@ opengl_vbogeometrybank::draw_( gfx::geometry_handle const &Geometry) {
|
||||
}
|
||||
|
||||
// actual draw procedure starts here
|
||||
auto &chunkrecord = m_chunkrecords[ Geometry.chunk - 1 ];
|
||||
auto &chunkrecord = m_chunkrecords.at(Geometry.chunk - 1);
|
||||
auto const &chunk = gfx::geometry_bank::chunk( Geometry );
|
||||
if( false == chunkrecord.is_good ) {
|
||||
glBindBuffer( GL_ARRAY_BUFFER, m_buffer );
|
||||
|
||||
Reference in New Issue
Block a user