Changeset 8641 in orxonox.OLD for branches/terrain/src/lib/graphics/importer/terrain/buffer_broker.h
- Timestamp:
- Jun 20, 2006, 5:24:24 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/terrain/src/lib/graphics/importer/terrain/buffer_broker.h
r8595 r8641 56 56 head = tail = NULL; 57 57 } 58 58 inline int getIBSize() { return ibSize; } 59 inline int getVBSize() { return vbSize; } 59 60 inline void acquire( GLuint &_vbName, GLuint &_ibName ); 60 61 … … 78 79 pBufferPair bp = head, prev = NULL; 79 80 bool removed = false; 80 81 81 while ( bp ) { 82 82 … … 106 106 inline void BufferBroker::acquire( GLuint &_vbName, GLuint &_ibName ) 107 107 { 108 108 assert( capacity > lastAcquired ); 109 109 int index = capacity-lastAcquired-1; 110 110 _vbName = freeVertexBuffers[index]; _ibName = freeIndexBuffers[index];
Note: See TracChangeset
for help on using the changeset viewer.