Created attachment 570097 [details] [diff] [review]
move glFinish to RenderLayer
Should be faster.
Please can you use the "set assignee" feature when attaching patches, to save time on merging. Thanks!
Why did we move UpdateSurface-type code into the RenderLayer function? Why not just remove the unneeded glFlush in RenderLayer?