mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Windows bug fixes
This commit is contained in:
parent
d2090a32d8
commit
d10627a77f
13 changed files with 162 additions and 90 deletions
|
@ -356,9 +356,10 @@ public:
|
|||
|
||||
// This is a "Standard MeshBuffer",
|
||||
// it's a typedeffed CMeshBuffer<video::S3DVertex>
|
||||
scene::IMeshBuffer *buf = new scene::SMeshBuffer();
|
||||
scene::SMeshBuffer *buf = new scene::SMeshBuffer();
|
||||
// Set material
|
||||
((scene::SMeshBuffer*)buf)->Material = p.material;
|
||||
buf->Material = p.material;
|
||||
//((scene::SMeshBuffer*)buf)->Material = p.material;
|
||||
// Use VBO
|
||||
//buf->setHardwareMappingHint(scene::EHM_STATIC);
|
||||
// Add to mesh
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue