mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 13:28:20 +00:00
Merge branch 'dev' of github.com:bloeys/nmage into dev
This commit is contained in:
@ -159,7 +159,7 @@ func (bo *BufferObject) Deactivate() {
|
|||||||
func NewBufferObject() *BufferObject {
|
func NewBufferObject() *BufferObject {
|
||||||
|
|
||||||
var vaoID uint32
|
var vaoID uint32
|
||||||
gl.CreateVertexArrays(1, &vaoID)
|
gl.GenVertexArrays(1, &vaoID)
|
||||||
if vaoID == 0 {
|
if vaoID == 0 {
|
||||||
logging.ErrLog.Println("Failed to create openGL vertex array object")
|
logging.ErrLog.Println("Failed to create openGL vertex array object")
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user