[odamex-bug-reporter] [Bug 809] New: DrawPatchStretched Y-Axis off-by-one

  • From: odamex-bugtracker@xxxxxxxxxx
  • To: odamex-bug-reporter@xxxxxxxxxxxxx
  • Date: Sun, 01 Apr 2012 16:36:40 +0000

http://odamex.net/bugs/show_bug.cgi?id=809

             Bug #: 809
           Summary: DrawPatchStretched Y-Axis off-by-one
    Classification: Unclassified
           Product: Odamex
           Version: 0.6-dev
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Client
        AssignedTo: odamex-bug-reporter@xxxxxxxxxxxxx
        ReportedBy: alexmax2742@xxxxxxxxx


Created attachment 352
  --> http://odamex.net/bugs/attachment.cgi?id=352
320x200 example.

I have discovered that our stretched patch drawers have an inaccuracy if you
pass it any height value that is not the exact height of the patch.  Doing this
results in a blank line being drawn for the first row, then the patch is drawn
correctly scaled...except there is a row of pixels cut off at the bottom.

Attached is an example of this happening.  I am drawing blue armors across the
top of the screen, and in all cases except where the height is 17, you can see
the extra row of pixels and the bottom being cut off.  This behavior has been
observed with DrawPatchStretched and DrawLucentPatchStretched.

-- 
Configure bugmail: http://odamex.net/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Other related posts:

  • » [odamex-bug-reporter] [Bug 809] New: DrawPatchStretched Y-Axis off-by-one - odamex-bugtracker