bugfix patch:
prevent shift+alt from triggering the menu while in demo playback. hopefully solve toggleconsole issues on german keymaps. gl_texturemode2d is now in presets, using nearest in vanilla preset. waterwarp edge textures now force linear sampling. no weird blocky edges. fix serverflags reset issue on saved games. fix $currentrender to not glitch on fbos too much. git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4720 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
362d8f820f
commit
583d8aa46c
6 changed files with 44 additions and 15 deletions
|
@ -1002,23 +1002,25 @@ int GLBE_SetupForShadowMap(texid_t shadowmaptex, int texwidth, int texheight, fl
|
|||
static void T_Gen_CurrentRender(int tmu)
|
||||
{
|
||||
int vwidth, vheight;
|
||||
int pwidth = vid.fbpwidth;
|
||||
int pheight = vid.fbpheight;
|
||||
if (r_refdef.recurse)
|
||||
return;
|
||||
|
||||
if (r_config.texture_non_power_of_two)
|
||||
{
|
||||
vwidth = vid.pixelwidth;
|
||||
vheight = vid.pixelheight;
|
||||
vwidth = pwidth;
|
||||
vheight = pheight;
|
||||
}
|
||||
else
|
||||
{
|
||||
vwidth = 1;
|
||||
vheight = 1;
|
||||
while (vwidth < vid.pixelwidth)
|
||||
while (vwidth < pwidth)
|
||||
{
|
||||
vwidth *= 2;
|
||||
}
|
||||
while (vheight < vid.pixelheight)
|
||||
while (vheight < pheight)
|
||||
{
|
||||
vheight *= 2;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue