Bug Tracker – Full Text Bug Listing

Bug 809

Summary: DrawPatchStretched Y-Axis off-by-one
Product: Odamex Reporter: Alexander Mayfield <alexmax2742>
Component: ClientAssignee: Odamex Bug Reporter <odamex-bug-reporter>
Status: ASSIGNED ---    
Severity: minor    
Priority: P1    
Version: (old) 0.6-dev   
Hardware: All   
OS: All   
Attachments: 320x200 example.
640x480 example

Description Alexander Mayfield 2012-04-01 16:36:40 UTC
Created attachment 352 [details]
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.
Comment 1 Alexander Mayfield 2012-04-01 16:39:08 UTC
Created attachment 353 [details]
640x480 example

The same thing happening at 640x480.  I have aligned the armors to the top of the screen so it's easier to see what is going on.
Comment 2 Mike Lightner 2016-09-15 23:42:43 UTC
Set to assigned