Exemple #1
0
func CreateDisplay(width, height, flags int) *Display {
	var d *Display

	C.al_set_new_display_flags((C.int)(flags))
	ptr := C.al_create_display((C.int)(width), (C.int)(height))
	d = (*Display)(ptr)

	return d
}
Exemple #2
0
func SetNewDisplayFlags(flags int32) {
	C.al_set_new_display_flags(C.int(flags))
}