Merging r6519 through r6561 from trunk to ogl-es branch
git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/branches/ogl-es@6562 dfc29bdd-3216-0410-991c-e03cc46cb475
This commit is contained in:
@@ -12,6 +12,7 @@
|
||||
#define SB3DSTRUCTS_H
|
||||
|
||||
#include "SMaterial.h"
|
||||
#include "irrMath.h"
|
||||
|
||||
namespace irr {
|
||||
namespace scene {
|
||||
@@ -27,6 +28,7 @@ struct SB3dChunk
|
||||
SB3dChunk(const SB3dChunkHeader& header, long sp)
|
||||
: length(header.size+8), startposition(sp)
|
||||
{
|
||||
length = core::max_(length, 8);
|
||||
name[0]=header.name[0];
|
||||
name[1]=header.name[1];
|
||||
name[2]=header.name[2];
|
||||
|
Reference in New Issue
Block a user