Using "eselect opengl show" in src_compile looks to be incorrect. Unless I'm missing something, it should always be set to "xorg-x11", which means the old setting won't get restored since the statement evaluates to false. Reproducible: Always Steps to Reproduce:
Created attachment 212817 [details] use ${OLD_IMPLEM} instead of $(eselect opengl show)