[OpenGLLayer] Update sample to use latest unified API
[MonoMacGameWindow] Update sample to use latest unified API