mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 12:04:18 +02:00
And again
This commit is contained in:
parent
5ad66a17ee
commit
9cdd079213
1 changed files with 3 additions and 1 deletions
|
@ -118,7 +118,9 @@ template <class T> class UniformBuffer : public gpu::BufferView {
|
|||
UniformBuffer<T>() : gpu::BufferView(makeBuffer()) {}
|
||||
|
||||
const T* operator ->() const { return &get<T>(); }
|
||||
T* operator ->() { return &edit<T>(); }
|
||||
T* operator ->() {
|
||||
return &edit<T>(0);
|
||||
}
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue