WARNING,
Include file glu32.inc contain wrong definition for gluPerspective function. This function need 4 parameters, not 8.
void gluPerspective(
GLdouble fovy,
GLdouble aspect,
GLdouble zNear,
GLdouble zFar
);
Regards, AsmER
@hutch--:
I think it's time to include a better tutorial for the macro system. I would suggest
the following:
http://web.sau.edu/lilliskevinm/csci240/masmdocs/programmersguide/13LMAPGC09.pdf
@AsmER:
Could it be that a "GLdouble" represents 2 DWORDs? Just a hint...
- key2k3 -
key2K3,
The link is for what appears to be a Microsoft document, that is already available from a link on the forum web site, that someone has put their name on, an obvious copyright violation.
key2k3,
GLdouble = QWORD (8 bytes) = 2x DWORD ( 2x 4 bytes).
You are right.