mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 13:28:20 +00:00
Starting work on Engine+Mesh+Material systems/packages
This commit is contained in:
@ -153,11 +153,11 @@ func (bo *BufferObject) SetBuffer(buf *Buffer) {
|
||||
}
|
||||
}
|
||||
|
||||
func (bo *BufferObject) Activate() {
|
||||
func (bo *BufferObject) Bind() {
|
||||
gl.BindVertexArray(bo.VAOID)
|
||||
}
|
||||
|
||||
func (bo *BufferObject) Deactivate() {
|
||||
func (bo *BufferObject) UnBind() {
|
||||
gl.BindVertexArray(0)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user