Archived

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

timmie

What's going wrong here?

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