diff --git a/src/hardware/r_opengl/r_opengl.c b/src/hardware/r_opengl/r_opengl.c index 179dbaad2..ce5431585 100644 --- a/src/hardware/r_opengl/r_opengl.c +++ b/src/hardware/r_opengl/r_opengl.c @@ -112,10 +112,10 @@ static GLint viewport[4]; // These need to start at 0 and be set to their number, and be reset to 0 when deleted so that intel GPUs // can know when the textures aren't there, as textures are always considered resident in their virtual memory // TODO: Store them in a more normal way -#define SCRTEX_SCREENTEXTURE 4294967295 -#define SCRTEX_STARTSCREENWIPE 4294967294 -#define SCRTEX_ENDSCREENWIPE 4294967293 -#define SCRTEX_FINALSCREENTEXTURE 4294967292 +#define SCRTEX_SCREENTEXTURE 4294967295U +#define SCRTEX_STARTSCREENWIPE 4294967294U +#define SCRTEX_ENDSCREENWIPE 4294967293U +#define SCRTEX_FINALSCREENTEXTURE 4294967292U static GLuint screentexture = 0; static GLuint startScreenWipe = 0; static GLuint endScreenWipe = 0; diff --git a/src/y_inter.c b/src/y_inter.c index be3bc74e1..2158d425e 100644 --- a/src/y_inter.c +++ b/src/y_inter.c @@ -712,6 +712,9 @@ static void Y_UpdateRecordReplays(void) if ((earnedEmblems = M_CheckLevelEmblems())) CONS_Printf(M_GetText("\x82" "Earned %hu medal%s for Record Attack records.\n"), (UINT16)earnedEmblems, earnedEmblems > 1 ? "s" : ""); + if (M_UpdateUnlockablesAndExtraEmblems(false)) + S_StartSound(NULL, sfx_ncitem); + // SRB2Kart - save here so you NEVER lose your earned times/medals. G_SaveGameData(false);