fix mock and clean dogl.c
Merge branch 'master' of https://github.com/ironpinguin/rpi_dogl
fix merge