Changeset 8595 in orxonox.OLD for branches/terrain/src/lib/graphics
- Timestamp:
- Jun 20, 2006, 12:20:44 AM (19 years ago)
- Location:
- branches/terrain/src/lib/graphics/importer/terrain
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/terrain/src/lib/graphics/importer/terrain/buffer_broker.h
r8570 r8595 106 106 inline void BufferBroker::acquire( GLuint &_vbName, GLuint &_ibName ) 107 107 { 108 assert( lastAcquired < capacity ); 108 109 109 int index = capacity-lastAcquired-1; 110 110 _vbName = freeVertexBuffers[index]; _ibName = freeIndexBuffers[index]; -
branches/terrain/src/lib/graphics/importer/terrain/terrain.h
r8569 r8595 87 87 activatedCount = deactivatedCount = 0; 88 88 #ifdef USE_VBO 89 broker = new BufferBroker( 200, pageSize*pageSize*sizeof( Vertex ),89 broker = new BufferBroker( 400, pageSize*pageSize*sizeof( Vertex ), 90 90 pageSize*pageSize*sizeof( short )*3 ); 91 91 #endif
Note: See TracChangeset
for help on using the changeset viewer.