]> git.tdb.fi Git - libs/gl.git/commit
Remove the LINE_LOOP primitive type
authorMikko Rasa <tdb@tdb.fi>
Wed, 10 Nov 2021 14:13:09 +0000 (16:13 +0200)
committerMikko Rasa <tdb@tdb.fi>
Wed, 10 Nov 2021 14:13:09 +0000 (16:13 +0200)
commit66e4a4d23d114e49743af89e06dee8bdc6f1fbde
treea08b9b1316e6b0715f4c994edf5c801476054c39
parentd279ad43486e287d4fe7e759e31b026949021260
Remove the LINE_LOOP primitive type

It's not supported on Vulkan and can be replaced by LINE_STRIP by adding
one extra index at the end.
source/backends/opengl/primitivetype_backend.cpp
source/core/batch.cpp
source/core/primitivetype.cpp
source/core/primitivetype.h