openFrameworks icon indicating copy to clipboard operation
openFrameworks copied to clipboard

Test removing GLUT window

Open NickHardeman opened this issue 1 year ago • 5 comments

NickHardeman avatar Dec 13 '23 21:12 NickHardeman

Wondering if any platform still uses GLUT window. I couldn't find anything internally

NickHardeman avatar Dec 13 '23 21:12 NickHardeman

Related: #7672

NickHardeman avatar Dec 13 '23 21:12 NickHardeman

+1 removal GLUT its license was permissive modification and to open source anyways, burn it

danoli3 avatar Dec 14 '23 09:12 danoli3

Great! +1.

dimitre avatar Dec 14 '23 12:12 dimitre

I think you should left this uncommented

//#if !defined(TARGET_OF_IOS) & !defined(TARGET_ANDROID) & !defined(TARGET_EMSCRIPTEN) & !defined(TARGET_RASPBERRY_PI_LEGACY)
//    #include "ofAppGLFWWindow.h"
//#endif

so we can use this kind of command:

auto windowP = ((ofAppGLFWWindow*)ofGetWindowPtr())->getGLFWWindow();

dimitre avatar Jan 16 '24 15:01 dimitre

@danoli3 Some checks are failing, but seems unrelated to the removal of GLUT window.

NickHardeman avatar Jul 27 '24 23:07 NickHardeman

Investigating now, seems a prior cache cleared itself and now seeing an error!

danoli3 avatar Jul 28 '24 06:07 danoli3

Found a bunch of glut mentions in the dev examples will need to fix those up too

danoli3 avatar Aug 12 '24 05:08 danoli3

Ah yeah, I can look into that

NickHardeman avatar Aug 12 '24 19:08 NickHardeman

@danoli3 I think I caught all the includes in devApps. Should be good to go

NickHardeman avatar Aug 13 '24 13:08 NickHardeman