diff --git a/extra/openal/openal.factor b/extra/openal/openal.factor index c0a79d8353..38d61a8823 100644 --- a/extra/openal/openal.factor +++ b/extra/openal/openal.factor @@ -235,13 +235,13 @@ SYMBOL: init : init-openal ( -- ) init get-global expired? [ - f f alutInit drop + f f alutInit 0 = [ "Could not initialize OpenAL" throw ] when 1337 init set-global ] when ; : exit-openal ( -- ) init get-global expired? [ - alutExit drop + alutExit 0 = [ "Could not close OpenAL" throw ] when f init set-global ] unless ;