Menu

#319 Desperate help! TDPFImageView.SaveToFile doesn work xe7

fixed
nobody
None
Bug
2014-12-03
2014-12-01
Gordon
No

This code worked perfect in Xe6.. Now, gives an "Abstract" error when using Xe7.. Can anyone look at this? Im pulling my hair out..

1 Attachments

Discussion

  • Gordon

    Gordon - 2014-12-01

    The problem is when UIImageToBitmap is called.. there is an abstract function that is causing the trouble..

    I found the problem.. But not sure how to fix it..

    UIImageToBitmap gets a value from TContext3D.MaxTextureSize.. this has been totally changed in xe7.. So, its now a virtual abstract function. How can I get the MaxTextureSize some other way? Or, what is the right way to use MaxTextureSize Now?

    In DPF.IOS.Common.. Look for the function ReduceImageSize.. you will see where TContext3D.MaxTextureSize is used..

    For now, I just replaced TContext3D.MaxTextureSize with 4096.. seems to be ok for now.. but its just a hack..

     

    Last edit: Gordon 2014-12-02
  • Sebastian Zierer

    Have you tested the version that is currently in SVN? I fixed a very similar problem a while ago.

     
  • Gordon

    Gordon - 2014-12-02

    Thats perfect! thanks.. Sorry for not looking first..

     

    Last edit: Gordon 2014-12-03
  • Sebastian Zierer

    • status: open --> fixed
     

Log in to post a comment.

MongoDB Logo MongoDB