News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

QWORD question ...

Started by shaldan, January 09, 2006, 10:33:56 AM

Previous topic - Next topic

shaldan

maybe this is general question, but ....
in masm package there is your openGL example Hitch where you do not use macros converting dword and qword values. I just wonder, suppose I declared:

Value1       dq 1.0

why it cannot be done by for example:

invoke glClearDepth, Value1
or
invoke glClearDepth, QWORD PTR Value1


than

invoke glClearDepth, DWORD PTR Value1,DWORD PTR Value1+4


Prototype in gl.inc is:
glClear         proto   :dword


thanks :)

hitchhikr

The opengl prototypes included with masm32 are incomplete & false.

Correct ones are located in the examples archive.

shaldan

ehmmm ... blind dummy am I ... there are more versions of gl.inc on my disk and I lost myself in prototypes and look at wrong one :)))

thanks for patience  :)  ::)