Stop! Tickets are now managed at GitHub.

Please enter new tickets, and find and edit existing tickets there:


Ticket #226 (new defect)

Opened 12 months ago

Ancient glut32.dll bundled with the Haskell platform

Reported by: svenpanne Owned by: dagit
Priority: major Milestone:
Component: GLUT Keywords:
Cc:

Description

If I see things correctly, https://github.com/23Skidoo/haskell-platform-windows/tree/master/etc contains the glut32.dll which is installed via the Haskell platform installer when no other GLUT DLL can be found. The problem is that this DLL seems to contain an ancient GLUT version from 2001, which misses a lot of new features:

glutBitmapHeight
glutBitmapString
glutCloseFunc
glutExit
glutFullScreenToggle
glutGetMenuData
glutGetModeValues
glutGetProcAddress
glutGetWindowData
glutInitContextFlags
glutInitContextProfile
glutInitContextVersion
glutInitErrorFunc
glutInitWarningFunc
glutLeaveFullScreen
glutLeaveMainLoop
glutMainLoopEvent
glutMenuDestroyFunc
glutMouseWheelFunc
glutMultiButtonFunc
glutMultiEntryFunc
glutMultiMotionFunc
glutMultiPassiveFunc
glutSetMenuData
glutSetOption
glutSetWindowData
glutSolidCylinder
glutSolidRhombicDodecahedron
glutSolidSierpinskiSponge
glutStrokeHeight
glutStrokeString
glutWMCloseFunc
glutWireCylinder
glutWireRhombicDodecahedron
glutWireSierpinskiSponge

As one can see, a few really crucial features are missing, like the ability to cleanly exit the GLUT main loop, and much more importantly: The ability to create specific OpenGL contexts via glutInitContext*. The latter is extensively used in e.g. the current Red Book. A better DLL is e.g. in the MSVC package in http://www.transmissionzero.co.uk/software/freeglut-devel/ (linked from the freeglut SF page). As it is, the bundled glut32.dll is almost useless for modern OpenGL. :-(

Note: See TracTickets for help on using tickets.