My favorites | Sign in
Project Home Downloads Wiki Issues Source
New issue   Search
for
  Advanced search   Search tips   Subscriptions
Issue 433: some valid NIB files break unrelated things, including OpenGL > 1.1
1 person starred this issue and may be notified of changes. Back to list
Status:  New
Owner:  ----


Sign in to add a comment
 
Reported by mayer.ju...@gmail.com, Oct 30, 2009
ok this is a very weird bug which took a while to isolate.

reproduce:

1.) download the very slightly modified cocotron opengl sample (attached). it has just been 
modified to initialize function pointers for opengl > 1.1 functions and print errors if they can't be 
initialized
2.) build the sample and run it under windows, everything is fine, no errors printed.
3.) now comes the weird thing. replace the MainMenu.nib file in the sample with the one i have 
attached.
4.) build the sample again, make sure the new nib file is used.
5.) run the sample again under windows and observe the errors being printed, the opengl 
function pointers can't be initialized.

what is even more weird is that the problem does NOT occur when running the sample under 
WINE or VMWARE/graphics emulation. but it is completely reproducible under WinXP+NVIDIA 
graphics. just replacing the nib file with another one which is seemingly identical makes opengl 
go nuts....
NSOpenGLView_Source.zip
33.5 KB   Download
MainMenu.nib.zip
8.8 KB   Download
Sign in to add a comment

Powered by Google Project Hosting