Fix build break without gl support
Merge pull request #2 from bluezery/master

Fix build break without gl support