Hi, I have a cross platform product that's in C++ and uses OpenGL
extensively.

I have created a window with an NSOpenGLView which replaces all the AGL
functions.

I've got things rendering in the window, all in the right place, but
there are no textures on anything! There are no GLerrors anywhere, just
polygons without their textures.

This is really strange because it renders everything perfect with the
same OpenGL code in Carbon 32bit, but it has no textures in 64-bit Cocoa.
I have to use 10.6 sdk in Xcode 3.2.6, which, like I said, works in the
Carbon view.

Is this a context problem? I'm creating the context in the '.mm' file
with [NSOpenGLContext alloc] initWithformat: shareConetext nil] making
it current then heading off to the C++ to use this context for
rendering. I get the feeling I need to create the context before the
window using other commands, but I'm completely lost in the vast amounts
of information out there.

Can anyone HELP! Thanks.
Dave.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

Apple Footer

This site contains user submitted content, comments and opinions and is for informational purposes only. Apple may provide or recommend responses as a possible solution based on the information provided; every potential issue may involve several factors not detailed in the conversations captured in an electronic forum and Apple can therefore provide no guarantee as to the efficacy of any proposed solutions on the community forums. Apple disclaims any and all liability for the acts, omissions and conduct of any third parties in connection with or related to your use of the site. All postings and use of the content on this site are subject to the Apple Support Communities Terms of Use.
Apple