• Advertisement
Sign in to follow this  

Problem with the delphi conversion of tutorial 46

This topic is 4368 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
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?

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement