>     >     tex->Register (txtmgr);
>     >     printf ("Register in txtmgr\n");
>     >     iTextureHandle *texh = tex->GetTextureHandle ();
>     >     if (!texh)
>     >       printf ("iTextureHandle is not here!!!\n");
>     >     texh->SetTextureClass("nocompress");
> 
>     The texture class should be set before registering with the texture
>     manager to have an effect.

Correction: the texture class should be set before the texture handle is
precached to have an effect; this can also happen after the texture was
registered.

However, iTextureWrapper has a SetTextureClass() method, too. The
texture class set here will be forwarded to the handle upon
registration. Generally, setting the class on the wrapper ensures that
the texture class is correctly applied under all circumstances.

-f.r.

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Crystal-main mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/crystal-main
Unsubscribe: mailto:[EMAIL PROTECTED]

Reply via email to