Merge branch 'master' of https://github.com/coelckers/gzdoom into lightmaps2
# Conflicts: # src/common/rendering/gl/gl_shader.cpp # src/common/rendering/hwrenderer/data/buffers.h # src/common/rendering/v_video.h
This commit is contained in:
commit
57112742fe
298 changed files with 7614 additions and 3373 deletions
|
|
@ -150,7 +150,6 @@ std::pair<FFlatVertex *, unsigned int> FFlatVertexBuffer::AllocVertices(unsigned
|
|||
{
|
||||
FFlatVertex *p = GetBuffer();
|
||||
auto index = mCurIndex.fetch_add(count);
|
||||
auto offset = index;
|
||||
if (index + count >= BUFFER_SIZE_TO_USE)
|
||||
{
|
||||
// If a single scene needs 2'000'000 vertices there must be something very wrong.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue