foxostro / GutsyStorm

Game with voxel graphics similar to Minecraft. (Restart GutsyStorm with Objective-C/Cocoa)
Other
12 stars 4 forks source link

Reuse VBOs when updating GSChunkGeometryData, instead of deleting/recreating. #56

Open foxostro opened 12 years ago

foxostro commented 12 years ago

I should try to reuse VBOs when updating the mesh in GSChunkGeometryData. At the moment, this involves destroying them all and then creating and filling new ones. The new ones are, of course, exactly the same size as the old ones, so this is wasteful.