Hello Phummipat,
I have changed my code to the code below but I still return out of memory. And also, I try to use *gluScaleImage* but it still return out of memory too.
We don't have your machine, environment and code in front of us, so please follow the other piece of advice I gave you in the previous message:
If that's not the problem, run in a debugger and step into scaleImage() and see why it's failing...
J-S -- ______________________________________________________ Jean-Sebastien Guay [email protected] http://www.cm-labs.com/ http://whitestar02.webhop.org/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

