dhewm3/neo/tools
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
..
af Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
comafx Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
common Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
compilers GUI Editor code/integration from SteelStorm2, doesn't build yet 2019-01-13 22:12:36 +01:00
debugger Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
decl Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
guied Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
Help hello world 2011-11-22 15:28:15 -06:00
materialeditor Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
particle Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
pda Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
radiant Fix ParticleEditor's Materialpicker screwing up ViewPort 2019-03-10 05:23:06 +01:00
script Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
sound Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
edit_gui_common.h Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
edit_public.h Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
edit_stub.cpp GUI Editor code/integration from SteelStorm2, doesn't build yet 2019-01-13 22:12:36 +01:00