@CapehillThanks.
I have replaced the mglChooseWindowMode() and mglCreateContextFromID() calls with this call:
IMiniGL->CreateContextTags(MGLCC_ScreenMode, ID, MGLCC_Windowed, FALSE, MGLCC_Width, &w, MGLCC_Height, &h, TAG_DONE)
MGLInit() and MGLTerm()calls are commented out, minigl.library is opened at startup.
Now I get linker errors:
undefined reference to "mini_CurrentContext"
@ShadowQuote:
Which version of GLMatrix are you recompiling?
This one. Is there another?
Quote:
Seems like who ever is maintaining MiniGL did not keep it backwards compatible. I my opinion that is not a good idea.
That happend years ago between the latest v1.x and first v2.x version.
Quote:
Anyway it seems like you have to switch to using the GLUT API in MiniGL
OK. How?