garrynewman/garrysmod — pull request #813 by mentlerd (2014-09-22 13:30:20+00:00)
Title: Change how RoundedBoxEx renders corners to fix 3D2D appearence

DrawTexturedRectRotated forces the engine to use mipmaps for the corner texture, causing some transparent bleed.

This method achieves the same effect without artifacts by mirroring the corner texture, instead of rotating it.