Use stdbool

This commit is contained in:
Milan Nikolic 2018-10-10 14:55:03 +02:00
parent 8db71e7851
commit 8d36ebe392
10 changed files with 42 additions and 40 deletions

View file

@ -209,7 +209,7 @@ func CloseVrSimulator() {
// IsVrSimulatorReady - Detect if VR simulator is ready
func IsVrSimulatorReady() bool {
ret := C.IsVrSimulatorReady()
v := bool(int(ret) == 1)
v := bool(ret)
return v
}