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

* commit '1276f7ba042be1d54e56c432f0cb89c4164f266c':
  EmuGL: Fix heap corruption