flat assembler
Message board for the users of flat assembler.
Index
> Compiler Internals > fasm example mistake |
Author |
|
bitshifter 11 Apr 2009, 14:22
Hi Tomasz, i found another bug in the opengl example.
I had found this a while ago and fixed it in my sources, but until today i forgot to mention anything about it... In OPENGL32.ASM Code: import opengl,\ ... wglUseFontBitmapsA,'wglUseFontBitmapsA',\ wglUseFontOutlinesA,'wglUseFontOutlinesA',\ wglUseFontBitmapsW,'wglUseFontBitmapsW',\ wglUseFontOutlinesW,'wglUseFontOutlinesW',\ wglUseFontBitmaps,'wglUseFontBitmaps',\ wglUseFontOutlines,'wglUseFontOutlines',\ ... Do you see it? I fix it like this... Code: import opengl,\ ... wglUseFontBitmapsA,'wglUseFontBitmapsA',\ wglUseFontOutlinesA,'wglUseFontOutlinesA',\ wglUseFontBitmapsW,'wglUseFontBitmapsW',\ wglUseFontOutlinesW,'wglUseFontOutlinesW',\ ... api wglUseFontBitmaps,\ wglUseFontOutlines The point being is that wglUseFontBitmaps and wglUseFontOutlines do not exist in opengl32.dll, only the A-W postfix variations do. _________________ Coding a 3D game engine with fasm is like trying to eat an elephant, you just have to keep focused and take it one 'byte' at a time. |
|||
11 Apr 2009, 14:22 |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.