Merge change 1836 into donut

* changes:
  Fix bug 1856713 gl Pointer functions should use Buffer position