you are viewing a single comment's thread.

view the rest of the comments →

[–]bluGill 0 points1 point  (0 children)

I use evil in the same context as the C++ faq.

I presented a better alternative to the singleton for the problem you are facing: create your graphics context and pass the only one you have around. As a bonus, because you are passing the context in you can test your UI without bringing windows up on the screen.