Archived

This topic is now archived and is closed to further replies.

Briskon

A few questions........

Recommended Posts

1. What is the advantage of using the #pragma comment method of linking rather than linking in the project->settings page. 2. When using the glTexImage2D function what is do the "components" and "format" parameters specify? I was thinking that "components" corresponds to the type of texture you want to create, whereas "format" relates to the pixel data from the source image. Is this right? Why would "components" and "format" differ? Thanks.

Share this post


Link to post
Share on other sites
1. I''m presuming you''re using VC. Including the libraries in the code files can be useful if you don''t want to/cannot include the project file: for instance, when writing cross-compiler code.

2. Clickeroo

Share this post


Link to post
Share on other sites