News:

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

Register preservation

Started by shaldan, January 05, 2006, 03:09:24 PM

Previous topic - Next topic

shaldan

Hello ..  a question:

Do openGl functions preserve or destroy some registers automaticly like Win API ?

QvasiModo

I think the opengl functions follow the C calling convention.

Here's more info on the different calling conventions, from the assembly language point of view:
http://www.agner.org/assem/calling_conventions.pdf

shaldan

Great stuff ... thank you very much.  :U