flat assembler
Message board for the users of flat assembler.

Index > Windows > OpenGL 3.0-4.0

Author
Thread Post new topic Reply to topic
shadowomf



Joined: 31 Mar 2010
Posts: 12
Location: Germany
shadowomf
Hello,

I'm looking for advice on using newer OpenGL versions with fasm.
Do I need to use extensions to get all the new functionality or is there an more convenient way?

-Christoph
Post 31 Mar 2010, 21:48
View user's profile Send private message Visit poster's website Reply with quote
rxantos



Joined: 19 Jul 2008
Posts: 41
rxantos
Yes, you will need to get the extensions using GetProcAddress.

The reason is that opengl32.dll interface is current only to Opengl 1.1. Thus the need go call GetProcAddress to access the newer functionality. You will also need to create headers with all the new constants.
Post 26 Apr 2010, 19:26
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar.

Powered by rwasa.