dhewm3/neo/renderer
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
..
Cinematic.cpp Fix color glitches on cinematics for selected archs 2018-02-23 13:40:11 +01:00
Cinematic.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
draw_arb2.cpp Remove the deprecated nv20 renderer 2012-07-20 00:13:01 +02:00
draw_common.cpp Remove the deprecated arb renderer 2012-07-20 00:13:02 +02:00
GuiModel.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
GuiModel.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Image.h Remove the monochrome hack 2012-07-20 00:13:02 +02:00
Image_files.cpp Fix crash when selecting nonexistant texture in D3Radiant 2019-03-10 05:11:33 +01:00
Image_init.cpp idCommon::SetCallback() and GetAdditionalFunction() - for Mods 2018-09-30 05:06:20 +02:00
Image_load.cpp Remove the monochrome hack 2012-07-20 00:13:02 +02:00
Image_process.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Image_program.cpp Fix crash when selecting nonexistant texture in D3Radiant 2019-03-10 05:11:33 +01:00
Interaction.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Interaction.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Material.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Material.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
MegaTexture.cpp Get rid of some compiler warnings 2012-11-13 23:24:13 +01:00
MegaTexture.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Model.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Model.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Model_ase.cpp Fix "black box" effect on ase meshes 2012-07-18 19:53:08 +02:00
Model_ase.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Model_beam.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Model_liquid.cpp Fix several bugs from iodoom3 bugtracker 2012-06-02 10:12:22 +02:00
Model_local.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Model_lwo.cpp Fix "unreachable code" warnings 2012-01-15 14:13:44 +01:00
Model_lwo.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
Model_ma.cpp revert changes committed in error 2017-04-02 00:42:28 +01:00
Model_ma.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Model_md3.cpp s/LittleLong/LittleInt/ to match the return type 2012-06-28 13:02:47 +02:00
Model_md3.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
Model_md5.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Model_prt.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
Model_sprite.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ModelDecal.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ModelDecal.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ModelManager.cpp More logging cleanup 2012-07-20 00:12:55 +02:00
ModelManager.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ModelOverlay.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
ModelOverlay.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
qgl.h Building with editor support (on Win w/ VS2017) works \o/ 2019-01-13 22:52:28 +01:00
qgl_proc.h Don't link against OpenGL 2012-07-20 16:43:37 +02:00
RenderEntity.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
RenderSystem.cpp Fix ParticleEditor's Materialpicker screwing up ViewPort 2019-03-10 05:23:06 +01:00
RenderSystem.h Get rid of glConfig.wgl_extensions_string 2012-07-20 00:13:05 +02:00
RenderSystem_init.cpp Scale "Menu" GUIs (incl. PDA + fullscreen vids) to 4:3 2018-10-28 05:29:11 +01:00
RenderWorld.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
RenderWorld.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
RenderWorld_demo.cpp Fix [record|play|time]Demo for x86_64 2012-01-10 22:54:01 +01:00
RenderWorld_load.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
RenderWorld_local.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
RenderWorld_portals.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
simplex.h Fix all whitespace errors 2011-12-10 15:35:54 +01:00
tr_backend.cpp Get rid of GLimp_EnableLogging 2012-01-02 15:44:00 -05:00
tr_deform.cpp Turn a Warning() in R_FlareDeform into a DPrintf() 2012-01-03 18:14:21 +01:00
tr_font.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
tr_guisurf.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
tr_light.cpp Remove the deprecated arb renderer 2012-07-20 00:13:02 +02:00
tr_lightrun.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
tr_local.h Move GrabInput() and rename to GLimp_GrabInput() 2012-07-20 17:34:34 +02:00
tr_main.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
tr_orderIndexes.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
tr_polytope.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
tr_render.cpp Get rid of glConfig.wgl_extensions_string 2012-07-20 00:13:05 +02:00
tr_rendertools.cpp Get rid of GLimp_EnableLogging 2012-01-02 15:44:00 -05:00
tr_shadowbounds.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
tr_stencilshadow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
tr_subview.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
tr_trace.cpp Use idSys::GetMilliseconds() for idTimer 2011-12-22 10:38:39 +01:00
tr_trisurf.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
tr_turboshadow.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
VertexCache.cpp Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00
VertexCache.h Untangle the epic precompiled.h mess 2011-12-19 23:21:47 +01:00