gfx_macros fix with namespaced enums
Updated examples to latest nightly
Merge pull request #447 from mttr/gfx_macro_fixes

gfx_macros fixes, and example fixes