made a minor fix to the new GL capture, was using the functions that were incompatible with many devices