forked from Mirrors/openclonk
![]() glDrawElements needs an IBO when using a core profile. The particle system's IBO is actually quite static since it's always a triangle strip with 2 triangles followed by a PRI. Therefore, this reduces the amount of data we have to send to the GPU compared to the previous solution. Also, remove the workaround when glPrimitiveRestartIndex is not available since it is always available with OpenGL 3.1 and when using a core profile we are guaranteed to have OpenGL 3.1 anyway. |
||
---|---|---|
.. | ||
C4Application.cpp | ||
C4Application.h | ||
C4FullScreen.cpp | ||
C4FullScreen.h | ||
C4Game.cpp | ||
C4Game.h | ||
C4GameVersion.h | ||
C4GraphicsSystem.cpp | ||
C4GraphicsSystem.h | ||
C4Physics.h | ||
C4Viewport.cpp | ||
C4Viewport.h | ||
ClonkMain.cpp |