Initial release: RadiantWave v1.0
This commit is contained in:
+16
@@ -0,0 +1,16 @@
|
||||
// +build vivante
|
||||
|
||||
package sdl
|
||||
|
||||
import "C"
|
||||
import "unsafe"
|
||||
|
||||
// VivanteKitMsg contains Vivante window information.
|
||||
type VivanteKitMsg struct {
|
||||
dummy C.int
|
||||
}
|
||||
|
||||
// Vivante() returns Vivante message.
|
||||
func (msg *SysWMmsg) Vivante() *VivanteMsg {
|
||||
return (*VivanteMsg)(unsafe.Pointer(&msg.data[0]))
|
||||
}
|
||||
Reference in New Issue
Block a user