Please don't boo me for not understanding this.  I found out in the 
documentation that I need to use  csImageMemory: 
http://www.crystalspace3d.org/docs/online/manual/Api1_005f0-Interface-Changes.php#0

Here is my code. I'm trying to copy xbut into xbut2.

 csRef < iImage > xbut;
    csRef < iImage > xbut2;

xbut =
    loader->LoadImage ("/this/data/AWT/X.TGA",
                CS_IMGFMT_TRUECOLOR | CS_IMGFMT_ALPHA);

csImageMemory csim(xbut);
xbut2=csim.GetMipmap(0);  //This line gives a runtime error of "pure virtual 
method called"




 
---------------------------------
 Get your own web address.
 Have a HUGE year through Yahoo! Small Business.
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to