separating scene and geometry flags in API
compile fix for windows