wasn't using GLbooleans in this platform independent part of the code