Hello!
I am working on converting a simple VC++ game with colored blocks on the screen (not tetris). The Windows program was coded using MFC. My goal is to port the program over the Xcode and OS X. Most of the program code is pretty simple to convert; however, I'm stumped on something that I thought would be very simple.
In several functions in the original program the return type is a color reference (COLORREF). There is also a variable declared as type COLORREF. Essentially, the COLORREF object is a unsigned integer value representing the color.
Is there something in OpenGL that corresponds to COLORREF?
Thanks!!



