On May 27, 2007, at 12:40 PM, Jonathan Johnson wrote:
The things I was expecting to cause this behavior haven't changed
-- the projection, transpose, and modelview matrixes. They are
identical with or without the drawImage call. So, the textures are
the only known differences I can see. What's odd though is that
GL_TEXTURE_1D, 2D, etc. are all disabled, which would make me
believe that these settings wouldn't affect my line drawing.
Does anyone have any ideas on how these differences might be
affecting my line drawing, or any ideas on where else to look to
see what might be going on?
Have you tried glPushAttrib(GL_ALL_ATTRIB_BITS) and then a
corresponding glPopAttrib()? You can also try pushing and popping the
coregraphics state -- I'm not sure how this relates or directly
affects OpenGL state. This will at least save and restore the gl
state, maybe helping you to figure out what is going on. I would have
assumed that maybe the problem was with GL_LINE_SMOOTH, but if you
say that the state has not changed, then that is probably not the
case. Do you have supersampling enabled on your context? The other
thing you could do is to simply draw your image using OpenGL calls
themselves.
Hopefully this helps.
Robert
--
Robert Chin
Apple Inc.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden