🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

Problem with the delphi conversion of tutorial 46

Started by
0 comments, last by GameDev.net 18 years, 4 months ago
When running this with delphi 7 the wglChoosePixelFormatARB function never returns a format. With the visual studio version it runs just fine. Anyone any idears?
Advertisement
Allready found it. The attributes arrays are dynamic. I made them static like:

fAttributes: array[0..1] of GLfloat;
iAttributes: array[0..21] of GLInt;

then it works fine. Who must I send the new version to to update it on the site?

This topic is closed to new replies.

Advertisement