2018-06-04 19:16:36 +00:00
|
|
|
// +build windows
|
|
|
|
|
2018-09-22 14:23:26 +00:00
|
|
|
package allg5
|
2018-06-04 19:16:36 +00:00
|
|
|
|
|
|
|
// #include <allegro5/allegro.h>
|
|
|
|
// #include <allegro5/allegro_windows.h>
|
|
|
|
import "C"
|
|
|
|
import "unsafe"
|
|
|
|
|
|
|
|
func (d *Display) WindowHandle() unsafe.Pointer {
|
|
|
|
return unsafe.Pointer(C.al_get_win_window_handle(d.display))
|
|
|
|
}
|