Editor theme and bug fixes.

This commit is contained in:
Justin Marshall
2026-05-15 10:32:24 -07:00
parent ea14ecb595
commit f6b489b2ff
18 changed files with 5972 additions and 455 deletions
+8
View File
@@ -430,6 +430,14 @@ static bool R_ParseImageProgram_r( idLexer &src, byte **pic, int *width, int *he
// process it
if ( pic ) {
if (pic2 == NULL || width2 == 0 || height2 == 0) {
if (pic) {
R_StaticFree(*pic);
*pic = NULL;
}
return false;
}
R_AddNormalMaps( *pic, *width, *height, pic2, width2, height2 );
R_StaticFree( pic2 );
if ( depth ) {