Fix gles10 ambient
Merge pull request #535 from xoppa/3dapi

Fix gles10 ambient