Issues in 64 bit - 32 bit works fine

I have some old code that works fine in 32 bit and compiles fine in 64 bit…but there are a number of issues with in 64 bit.

I have graphics that don’t draw, slow drags (over the invisible graphics) another issues… Don’t know where to look.

Here is a lonk to am MP4 file that shows what I am taking about. I first run the cdd in 32 bit mode in the IDE and then run the same code compiled in 64 bit.

Any ideas?

  • Karen

Any messages show up in Console?

Yes… Tons screaming about an invalid context like this one:

[quote]11/23/15 7:50:30.450 PM My Application[10110]: CGContextSaveGState: invalid context 0x6080001768c0. This is a serious error. This application, or a library it uses, is using an invalid context and is thereby contributing to an overall degradation of system stability and reliability. This notice is a courtesy: please fix this problem. It will become a fatal error in an upcoming update.

And it only happens in the 64 bit compile.

I’m on 10.9.5 BTW

I’m not using declares to draw.

  • karen

Found the issue… it was code to determine the scale factor to detect retina displays (I don’t have a retina display)

Fixed it by changing a structure