I’m currently trying to do a simple “Paint” program using OpenGL with Microsoft Visual C++.
My questions are:
How do I make a color palette with 256 colors?
How can I change the current color by clicking on a point in the palette?
Thankful for answer.