mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 00:25:19 +02:00
OpenGL: allow uploads of buffers to hardware ahead-of-time
This commit is contained in:
@@ -348,6 +348,10 @@ protected:
|
||||
virtual SHWBufferLink *createHardwareBuffer(const scene::IIndexBuffer *ib) { return 0; }
|
||||
|
||||
public:
|
||||
virtual void updateHardwareBuffer(const scene::IVertexBuffer *vb) override;
|
||||
|
||||
virtual void updateHardwareBuffer(const scene::IIndexBuffer *ib) override;
|
||||
|
||||
//! Remove hardware buffer
|
||||
void removeHardwareBuffer(const scene::IVertexBuffer *vb) override;
|
||||
|
||||
|
Reference in New Issue
Block a user