Sign in to follow this  

Problem with the delphi conversion of tutorial 46

This topic is 4300 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
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

This topic is 4300 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this