... Aaaand now I'm embarassed.
There was nothing wrong with my code - just I was expecting a white triangle, and got a triangle that's pitch black, same as that area's background. DIscovered this when I tried using a larger triangle.
(Thanks for trying to help though.)

Find content
Not Telling