Jump to content
  • Advertisement


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


help with texture type switching

This topic is 6093 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

i was wondering if someone could take a look at some code. Im trying to make a program with a texture type switcher using three arrays, one for each type and using a vaiable inplace of the array number so i can select different textures in another function i wrote for polygons. i got the beef of it it''s just i think i have something wrong in the loading of my textures

Share this post

Link to post
Share on other sites

Here''s a sample code. I''ve only keept the lines for chossing a filter to apply to the BMP

int Filter[2] = { GL_NEAREST , GL_LINEAR };

int Load_BMP(int Effect)
etc ...
etc ..

Leyder Dylan

Share this post

Link to post
Share on other sites

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!