← Back to team overview

hugin-devs team mailing list archive

[Bug 685934] Re: enblend GPU on OS X without superfluous window

 

On further thought, it looks like the version of OpenGL on my mac
(latest MacOS 10.6.6) does expect at GLInt as was in Michael's original
patch, not the long int as it was subsequently changed to.   We may have
a situation that different versions of the OpenGL framework are
expecting different argument types.

-- 
You received this bug notification because you are a member of Hugin
Developers, which is subscribed to Enblend.
https://bugs.launchpad.net/bugs/685934

Title:
  enblend GPU on OS X without superfluous window

Status in Enblend:
  Fix Released

Bug description:
  I was using enblend for a batch processing script under Mac OS 10.6,
  with GPU support enabled. This made my computer difficult to use
  because a window would be opened from enblend and steal my focus every
  time it ran. This was evidently a side-effect of using GLUT for OpenGL
  context initialization which assumes a window-based context on Mac OS
  X. By replacing this with a CGL PBuffer context no window is spawned
  and the flashing icon on the dock is also eliminated.

  I have attached a patch against the 4.0 source download that replaces
  the GLUT initialization code with Mac OS X-specific CGL
  initialization. The changes are contained within #ifdef
  HAVE_APPLE_OPENGL_FRAMEWORK so it will not affect building on other
  platforms. No makefile or linking changes were necessary for this
  change. Do with it what you will.