based on 0eeacaf51e
remove
- broken viewborder code (if we really want it back for some reason, we should rather port RR´s fixed version of it)
- remove console clipping code for software (this was broken eiherway)
- remove hud message clearing stuff
- remove renderscreen and linesize variables (they just pointed to vid.screen and vid.widht)
-our buffered uhh buffer needs to be only advanced per column not per screenwidth, caused the buffer to advance beyond its boundaries
-brightmap drawers get the DC_DIRECT flag to make sure they never attempt to draw buffered
removed tempbuffer alignment for now as reported by ubsan
based on 2da89f1946
move screens array to vid struct
remove a bunch of unused stuff
this speeds up 4 player splitscreen ever so slighty
mostly just alot cleaner than the mess it was before
This reverts commit f72475b557, reversing
changes made to 0c89c85aae.
Sorry Generic this branch is really cool but it needs more work. I shouldn't have merged it too early...
Two reasons:
- Makes it more straight-forward to add brightmaps to the non-power-of-two rendering functions.
- Made it easier to split off brightmap rendering. Hopefully improves performance, but I haven't thoroughly tested this.