Jump to content
  • Advertisement


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


What's going wrong here?

This topic is 5442 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

Ok, I've been staring at this code for too long now =/ I'm trying to add the hq2x/hq4x filters (from www.hiend3d.com) as a preprocessing stage when loading textures in my game, but for some reason it's just not working. Something keeps causing it to crash once the filter is run and the resampled image is accessed. http://timmie.squabble.org/stuff/wtf.txt It actually dies on the gluScaleImage call, but it's fine if I comment out the calls to hq2x_32 and hq4x_32 (aside from the textures being blank, anyway). The filters themselves should be good since they're used in other programs just fine, so I have to assume that it's something I'm doing that I'm just not seeing. If you want the code to mess around with, you can grab it here: http://prdownloads.sourceforge.net/zdoomgl/zdoomgl_075a.zip?download (you'll need NASM, FMOD and the OpenIL libraries to compile it, though). Any suggestions would be greatly appreciated! [edited by - timmie on January 16, 2004 4:30:13 AM] [edited by - timmie on January 16, 2004 4:30:48 AM]

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!