Le vendredi 30 septembre 2022 à 15:17:25 UTC+2, imacarthur a écrit :
Seems to be a calling convention thing after all.
Explicitly changing the typedef for glUseProgram_type in
Fl_Gl_Window_Driver.H to become either of:
typedef void(__stdcall *glUseProgram_type)(GLint);
typedef void(APIENTRY *glUseProgram_type)(GLint);
My bad. I have (again) forgotten that WINAPI is mandatory with pointer to functions
The problem should be fixed with commit 4f6965d.
@Ian: Do you see it fixed too?
You received this message because you are subscribed to the Google Groups "fltk.coredev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to firstname.lastname@example.org.
To view this discussion on the web visit https://groups.google.com/d/msgid/fltkcoredev/8de044cd-866d-4b13-94d7-a55d67f4db60n%40googlegroups.com.
[ Direct Link to Message ]