Sign in to follow this  
Luuk

Problem with the delphi conversion of tutorial 46

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

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