revert changeset 562b2bb0e47d to fix non-omtc gl layers on Linux