am 165c21e8: am 1276f7ba: am 0e981c83: EmuGL: Fix heap corruption

* commit '165c21e84cf87c6d5ccf085546d6313ea1533c6f':
  EmuGL: Fix heap corruption