Example #1
0
func CreateBufferHelloWorld() (buffer *Buffer) {
	h := C.alutCreateBufferHelloWorld()

	if AlutGetError() != AlutErrorNoError {
		return
	}

	buffer = new(Buffer)
	buffer.handle = h
	rememberBuffer(buffer)
	return
}
Example #2
0
File: alut.go Project: nzlov/goal
func CreateBufferHelloWorld() al.Buffer {
	return al.Buffer(C.alutCreateBufferHelloWorld())
}