dhewm3/neo
Daniel Gibson 5c1e1d7708 Fix ParticleEditor's Materialpicker screwing up ViewPort
In short, it uses a idGLDrawableMaterial widget that calls
renderSystem->BeginFrame(w, h); (with w and h being small for the texture
preview window) and BeginFrame() sets glConfig.vidWidth and vidHeight to
w/h and that never got reset to the original value (window width/height).
This breaks everything because for some reason
renderSystem->GetSCreenWidth()/Height() return glConfig.vidWidth/Height
so it will just continue to render everything at that resolution (in a
small rectangle on the lower left corner of the window).
This bug has already existed in Doom3 1.3.1 (but was less noticable because
apparently  when switching away from Doom3 and back to the window it reset
vidWidth/Height to the window resolution)
I only implemented a workaround (restore glConfig.vid* after rendering the
texture preview), it's possible that the same issue exists in other
(probably editor-) code - but a "proper fix" might also break code (and I'm
not super-familiar with the editor code or even just using them)
2019-03-10 05:23:06 +01:00
..
cm Disable Assertions in Release builds 2018-11-11 23:21:23 +01:00
d3xp Revert changes for Demo to d3xp/ - Demo only needs game/ code 2019-01-07 15:06:59 +01:00
framework Fix crash when selecting nonexistant texture in D3Radiant 2019-03-10 05:11:33 +01:00
game Modify check for Demo version to not break Game DLL ABI 2019-01-07 15:06:59 +01:00
idlib MSVC: Shut up Compiler warning in Matrix.h if asserts are disabled 2019-01-13 22:12:36 +01:00
MayaImport s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
renderer Fix ParticleEditor's Materialpicker screwing up ViewPort 2019-03-10 05:23:06 +01:00
sound Fix entering the menu or saving the game stopping some sounds. 2018-08-19 16:58:44 +02:00
sys Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
tools Fix ParticleEditor's Materialpicker screwing up ViewPort 2019-03-10 05:23:06 +01:00
TypeInfo Get rid of Sys_FPU_StackIsEmpty() 2012-07-06 01:06:53 +02:00
ui Additional fix 2019-01-07 15:06:59 +01:00
CMakeLists.txt Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
config.h.in Introduce CMAKE_INSTALL_PREFIX relative paths 2012-07-04 02:18:42 +02:00
mmakefile.src # move the AROS specific folder icon and default.cfg mmakefile.src under neo/sys/aros/setup 2017-04-22 16:21:14 +02:00