Alright I tracked it down to
in the initialization part of gl.pas. You'll also need
after the implementation keyword.
I have no clue (yet), what kind of bug they are talking about and what they change there (looks like disabling some exceptions?), but after I add this change to your ImagingOpenGL unit, everything works as normal. Maybe I should report this to the dglopengl team?
Code Select
{ according to bug 7570, this is necessary on all x86 platforms,
maybe we've to fix the sse control word as well }
{ Yes, at least for darwin/x86_64 (JM) }
{$if defined(cpui386) or defined(cpux86_64)}
SetExceptionMask([exInvalidOp, exDenormalized, exZeroDivide,exOverflow, exUnderflow, exPrecision]);
{$endif}
in the initialization part of gl.pas. You'll also need
Code Select
{$if defined(cpui386) or defined(cpux86_64)}
uses
math;
{$endif}
after the implementation keyword.
I have no clue (yet), what kind of bug they are talking about and what they change there (looks like disabling some exceptions?), but after I add this change to your ImagingOpenGL unit, everything works as normal. Maybe I should report this to the dglopengl team?