From Mario Valle, "xed the following warning on Linux 64 bits Athlon:
/users/mvalle/OSG/OpenSceneGraph/src/osg/BufferObject.cpp: In member function `virtual void osg::ElementBufferObject::compileBuffer(osg::State&) const': /users/mvalle/OSG/OpenSceneGraph/src/osg/BufferObject.cpp:600: warning: cast to pointer from integer of different size"
This commit is contained in:
parent
14c86a5389
commit
3f025bec5d
@ -578,7 +578,7 @@ void ElementBufferObject::compileBuffer(State& state) const
|
||||
eboMemory = extensions->glMapBuffer(_target, GL_WRITE_ONLY_ARB);
|
||||
#endif
|
||||
|
||||
unsigned int offset = 0;
|
||||
size_t offset = 0;
|
||||
for(BufferEntryDrawElementsPairs::const_iterator itr = _bufferEntryDrawElementsPairs.begin();
|
||||
itr != _bufferEntryDrawElementsPairs.end();
|
||||
++itr)
|
||||
|
Loading…
Reference in New Issue
Block a user