Fix a bug in sub_6E7F34 and reenable new code
Condition fix in viewport.c
Fix viewport tearing.
Properly pass dx and bp
Merge pull request #1 from duncanspumpkin/viewport

Fix viewport tearing issue
Remove a no longer relevant comment
Merge pull request #641 from adrian17/viewport_fix

Fix for sub_6E7F34 in viewport.c