Skip to content

Commit

Permalink
fix crash when mme_saveDepth is used without blur
Browse files Browse the repository at this point in the history
  • Loading branch information
brugal committed Jun 10, 2022
1 parent 378eb02 commit b6a315b
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 10 deletions.
7 changes: 0 additions & 7 deletions FIXME
Original file line number Diff line number Diff line change
Expand Up @@ -2407,13 +2407,6 @@ Q_GetCpFromUtf8 invalid number of bytes specified in utf8 character 255

* czm*.dm_68 armor/health bug

* since 12.5test9 not in 12.5test7

renderer_opengl1_x86_64.dll crash

set mme_savedepth 1
video avi wav


----

Expand Down
2 changes: 1 addition & 1 deletion Makefile.local
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
VERSION=12.5test24
VERSION=12.5test25

USE_CODEC_VORBIS=1
USE_FREETYPE=1
Expand Down
2 changes: 1 addition & 1 deletion code/renderercommon/inc_tr_init.c
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ const void *RB_TakeVideoFrameCmd (const void *data, shotData_t *shotData)
if (mme_depthRange->value > 0) {
byte *buffer;

if (mme_saveDepth->integer == 2) {
if (!useBlur || mme_saveDepth->integer == 2) {
//FIXME duplicate code in R_MME_GetDepth()
float focusStart, focusEnd, focusMul;
float zBase, zAdd, zRange;
Expand Down
2 changes: 1 addition & 1 deletion version.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
12.5test24
12.5test25

* ioquake3 patches

Expand Down

0 comments on commit b6a315b

Please sign in to comment.