61 Commits

Author SHA1 Message Date
UnknownShadow200
465771e2ec Fix rare crash when generating mipmaps, fixes #923
When generating mipmaps from a 1 wide pixel bitmap (e.g. 1x256 --> 1x128), the bilinear filtering code would accidentally read 1 pixel past the end of the source bitmap when generating the last row.
On most devices this happened to just always work by accident, but on one user's device this would sometimes result in a SEGFAULT
2021-12-31 15:24:49 +11:00
UnknownShadow200
08bbf6a165 Fix LimitXYZ mode still undershooting by a couple FPS when moving around
This was because the frame time calculation code was not accounting for how long Window_ProcessEvents took
2021-12-25 17:16:00 +11:00
UnknownShadow200
eabe0adc57 Fix LimitXYZ modes majorly undershooting frame targets on some machines
Before -> After
Limit30: 21 -> 29
Limit60: 32 -> 59
Limit120: 64 -> 119
Limit114: 64 -> 142
2021-12-25 14:54:43 +11:00
UnknownShadow200
513d2d9a7b Direct3D9Ex: Also enter reduced performance mode when minimised, and showe a message in chat when that happens 2021-11-05 17:18:14 +11:00
UnknownShadow200
2e72ffefa2 Direct3D11: Reduce FPS instead of crashing when minimised 2021-11-04 19:21:25 +11:00
UnknownShadow200
326c1445dd Unobsolete Gfx_UpdateTexturePart and obsolete Gfx_UpdateTexture 2021-10-05 19:27:12 +11:00
UnknownShadow200
c7aa361240 Change managedPool parameter to flags for Gfx_CreateTexture/GfxRecreateTexture 2021-09-20 20:34:51 +10:00
UnknownShadow200
c65143e6d0 More col -> color renaming 2021-09-16 20:07:38 +10:00
UnknownShadow200
d17b91ea1a unify HttpComponent, start renaming col to color 2021-07-13 22:11:23 +10:00
UnknownShadow200
aff24c2cdc Tidy up graphics code a bit 2021-07-05 20:01:35 +10:00
UnknownShadow200
4ba7f22518 Split Graphics into OpenGL and Direct3D9 backends 2021-07-05 19:38:57 +10:00