Menu

#445 .NET runtime checker asserts on PixelConversion

Azathoth
closed-accepted
bugfix (702)
5
2006-01-25
2005-11-02
No

.NET 2003 in debug mode with runtime checking asserts
on some pixel conversions. He thinks we are loosing
data in the convsersion.

This is because the bitmasking is not done correctly.

Adding parenthesis at the right place correct this problem.

I have write a test case to test the 33x33 conversion
possible and only 4 raised this problem.

I attach my patch and the function to test the problem

The compile flag /RTC1 should be set to reproduce the
original problem.

Discussion

  • David Geldreich

    David Geldreich - 2005-11-02

    patch against 1.0.5 sources

     
  • David Geldreich

    David Geldreich - 2005-11-02

    a function to test all the possible pixel conversions

     
  • Steve Streeting

    Steve Streeting - 2005-12-23
    • milestone: --> Azathoth
    • assigned_to: nobody --> sinbad
     
  • Steve Streeting

    Steve Streeting - 2006-01-25
    • status: open --> closed-accepted
     
  • Steve Streeting

    Steve Streeting - 2006-01-25

    Logged In: YES
    user_id=16123

    Already applied by nfz

     

Log in to post a comment.