fixed video recording issues with long demo file names

This commit is contained in:
myT 2023-04-30 00:55:55 +02:00
parent ab44152713
commit 9f32a13f05
2 changed files with 3 additions and 1 deletions

View file

@ -100,6 +100,8 @@ chg: with r_backend GL3, depth fade with MSAA now requires GLSL 4.00 at a minimu
chg: with r_backend GL3, alpha to coverage now requires GLSL 4.00 at a minimum
fix: long demo file names would cause video recording to output files with no extension or outright fail
fix: invalid skybox texture mip-mapping and filtering settings (e.g. cpm25 skybox seams)
fix: in render batches with multiple shaders where the second or later surface had a shader using

View file

@ -42,7 +42,7 @@ typedef struct aviFileData_s
{
qbool fileOpen;
fileHandle_t f;
char fileName[ MAX_QPATH ];
char fileName[ 256 + 64 ]; // extra room for the "videos/" prefix and name suffix
int fileSize;
int moviOffset;
int moviSize;