Hi guys,
For the past week and a half I've been searching for a way to use OpenGL on the Mac without using GLUT or coding in Objective-C, but I can't find anywhere that shows the native window drawing code in anything other than Objective-C.
Here's my question, if I want to program in C++ and OpenGL without GLUT or SDL (since apparently SDL doesn't support newer OGL implementations according to sources I've found), what would be the steps to take? Just to draw a window? If anyone had a code snipped that would be super amazing
Right now I'm in Apples documentation and its obviously in Objective-C, do I perhaps need to draw the window in Objective-C then do my coding in C++? I've never mixed languages before (except for C and C++) so I'm not sure how well that works.
I'm just having the hardest time learning OpenGL :/ (I'm familiar with it, but no expert and sources for Mac are scarce).
Also since I know others are in this same boat if I ever figure this out I'll turn my abandoned game dev blog into a tutorial site for us OGL beginners
For the past week and a half I've been searching for a way to use OpenGL on the Mac without using GLUT or coding in Objective-C, but I can't find anywhere that shows the native window drawing code in anything other than Objective-C.
Here's my question, if I want to program in C++ and OpenGL without GLUT or SDL (since apparently SDL doesn't support newer OGL implementations according to sources I've found), what would be the steps to take? Just to draw a window? If anyone had a code snipped that would be super amazing
Right now I'm in Apples documentation and its obviously in Objective-C, do I perhaps need to draw the window in Objective-C then do my coding in C++? I've never mixed languages before (except for C and C++) so I'm not sure how well that works.
I'm just having the hardest time learning OpenGL :/ (I'm familiar with it, but no expert and sources for Mac are scarce).
Also since I know others are in this same boat if I ever figure this out I'll turn my abandoned game dev blog into a tutorial site for us OGL beginners