mirror of
https://github.com/bloeys/nmage.git
synced 2025-12-29 13:28:20 +00:00
Initial uniform buffers implementation
This commit is contained in:
@ -55,7 +55,7 @@ func NewVertexBuffer(layout ...Element) VertexBuffer {
|
||||
|
||||
gl.GenBuffers(1, &vb.Id)
|
||||
if vb.Id == 0 {
|
||||
logging.ErrLog.Println("Failed to create OpenGL buffer")
|
||||
logging.ErrLog.Panicln("Failed to create OpenGL buffer")
|
||||
}
|
||||
|
||||
vb.SetLayout(layout...)
|
||||
|
||||
Reference in New Issue
Block a user