Commit graph

9 commits

Author SHA1 Message Date
Rachael Alexanderson
7d67d5e998 - fixed possible erroneous comparison, also fixed a couple compiler warnings in the process 2017-10-10 07:23:05 -04:00
Rachael Alexanderson
69abf095c9 - added vid_cropaspect. This cvar turns vid_aspect into a letterboxing function that will crop the unused sides of the screen away, instead of stretching it. Requires one of the non-legacy OpenGL framebuffers to work. 2017-10-07 20:18:37 -04:00
Rachael Alexanderson
ffa11dec54 - added bounds checker for all calls to vid_scalemode code - apparently it was possible to start gzdoom with vid_scalemode==8 from previous valid values and cause it to crash. 2017-09-13 02:45:37 -04:00
Rachael Alexanderson
4b82bb50df - removed scale resolutions and added vid_scalefactor to replace them. 2017-09-10 12:29:07 -04:00
Rachael Alexanderson
432afd9edf - privatized the namespace in r_videoscale.cpp completely 2017-09-10 09:50:49 -04:00
Rachael Alexanderson
86a66cd554 - refactored r_videoscale.cpp to use a table.
- reordered vid_scalemode modes to be a little neater, having static modes and scalar modes separate, with a buffer in between so new modes can be added in the future without disrupting the current order.
2017-09-10 09:41:03 -04:00
Rachael Alexanderson
3540440bf6 - add 1280x800 scale mode 2017-07-27 12:19:41 -04:00
raa-eruanna
5795e0fd3e - included another header in order to fix an error reported by travis ci 2017-07-27 03:37:01 -04:00
Rachael Alexanderson
30087f7cd7 - cleaned up the video scale mode code a bit, in order to increase future flexibility. 2017-07-27 03:05:01 -04:00