Skip to content

freeglut 3.4.0

Latest
Compare
Choose a tag to compare
@jtsiomb jtsiomb released this 07 Oct 16:15
· 42 commits to master since this release

Release date: 7 October 2022

Changes

  • Add GLUT_ACTIVE_SUPER modifier, and corresponding GLUT_KEY_SUPER_L and GLUT_KEY_SUPER_R special keys. These map to Windows/Command keys.
  • Fix RGB mode (GLUT_RGBA) colors on 8bpp displays on windows (construct default RGB332 palette).
  • Fix indexed color context creation on X11 and windows (GLUT_INDEX).
  • Add missing colormap management functions for X11 and windows (glutSetColor, glutGetColor).
  • Fix crash when calling glutTimerFuncUcall.
  • Fix FreeBSD build by essentially disabling the joystick code for newer FreeBSD versions. It will eventually need to be replaced/fixed.
  • Add fallbacks for the old GLX (<1.3) context creation API (glXChooseVisual/glXCreateContext), makes us compatible with IRIX 5.x and other old UNIX systems.
  • Add fallbacks for OpenGL 1.0 (no vertex arrays/client state).
  • Use nanosleep instead of usleep on UNIX, which is more widely supported on old UNIX systems.
  • Fix build on X11 if GL_SAMPLES is not defined.
  • Fix overly strict context version checking on Android leading to context creation failure in some cases.
  • Fix GLUT_CURSOR_INFO on windows, should be IDC_HAND, not IDC_HELP.
  • Fix mismatched font declarations on X11.
  • Add alternative simple ways to build freeglut with native tools only, without having to use cmake.
  • Fix build on windows with cmake 3.0.0. Explicitly link with gdi32.
  • Fix build on MSVC 2005.
  • Fix build on MacOS X. Link with all the necessary X libraries.
  • Fix build on SGI IRIX.
  • Fix build on Android (mismatched function prototypes and missing glutCreateMenuUcall).
  • Add support for the ninja multi-config generator.
  • Removed spurious dependency on a C++ compiler. One of the demos was being compiled as C++ for no reason.
  • Silence unnecessary warnings when VBOs or GLSL are not available.
  • New demo programs: 3dview, keyboard, joystick.
  • Documentation: added MacOS X build instructions.
  • Made it possible to eventually support building freeglut as a single compilation unit, by avoiding name conflicts on static variables.
  • Other minor fixes.