flat assembler
Message board for the users of flat assembler.
Index
> Windows > OpenGL Extensions |
Author |
|
wisepenguin 10 Oct 2006, 07:35
havent tested it, but i imagine like this
Code: wglSwapIntervalEXT_Name db "wglSwapIntervalEXT", 0 wglSwapIntervalEXT rd 1 push wglSwapIntervalEXT_Name invoke wglGetProcAddress mov [wglSwapIntervalEXT], eax ; wglSwapIntervalEXT is defined as a function pointer ; to call it... call [wglSwapIntervalEXT] |
|||
10 Oct 2006, 07:35 |
|
Rbraz 10 Oct 2006, 15:49
Thank you very much wisepenguin, it works fine
Code: stdcall [wglSwapIntervalEXT],1 ; to enable OGL vertical sync stdcall [wglSwapIntervalEXT],0 ; to disable OGL vertical sync |
|||
10 Oct 2006, 15:49 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.