Merged improved VBO/UBO handling from vkneo

This commit is contained in:
Robert Beckebans 2018-10-02 17:50:51 +02:00
parent 095c68ca5b
commit d115d84980
15 changed files with 1144 additions and 1065 deletions

View file

@ -914,7 +914,7 @@ void R_InitOpenGL()
r_initialized = true;
// allocate the vertex array range or vertex objects
vertexCache.Init();
vertexCache.Init( glConfig.uniformBufferOffsetAlignment );
// allocate the frame data, which may be more if smp is enabled
R_InitFrameData();