You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is GLvoid a macro? What's it defined as? It's likely that 19.1.0 got it right by chance, and you need to add something like Macros: [GLvoid(a)=void(*)] to your config file after bcd586b.
GLvoid isn't a macro. It is a type provided by OpenGL. I.e. via typedef void GLvoid.
Though, adding that macro configuration you suggested, does cause the old formatting to return? Though, I wouldn't think that would be necessary in this instance.
The only macros in that example are FONM_GLU_STD_CALLBACK and GLU_TESS_COMBINE_DATA.
Looking further, I found another example that seems like it could be the same issue. But this one doesn't have any macros present.
While testing on the release branch for 20, I discovered this formatting change from 19.1.0.
Using 19.1.0:
::gluTessCallback(tesselator.get(), GLU_TESS_COMBINE_DATA, (GLvoid(FONM_GLU_STD_CALLBACK *)())&CallbackCombine);
Using 20 (8c25748):
::gluTessCallback(tesselator.get(), GLU_TESS_COMBINE_DATA, (GLvoid(FONM_GLU_STD_CALLBACK *)()) & CallbackCombine);
The text was updated successfully, but these errors were encountered: