Fix various warnings
This commit is contained in:
1 parent
549b686e22
commit
f976711fb4
58 files changed
+384
-425
No files matched your search
@@ -138,7 +138,6 @@ static void R_LoadLightmaps( lump_t *l ) {
|
||||
byte image[LIGHTMAP_SIZE*LIGHTMAP_SIZE*4];
|
||||
int i, j;
|
||||
float maxIntensity = 0;
|
||||
double sumIntensity = 0;
|
||||
|
||||
len = l->filelen;
|
||||
if ( !len ) {
|
||||
@@ -193,8 +192,6 @@ static void R_LoadLightmaps( lump_t *l ) {
|
||||
image[j*4+1] = out[1] * 255;
|
||||
image[j*4+2] = out[2] * 255;
|
||||
image[j*4+3] = 255;
|
||||
|
||||
sumIntensity += intensity;
|
||||
}
|
||||
} else {
|
||||
for ( j = 0 ; j < LIGHTMAP_SIZE * LIGHTMAP_SIZE; j++ ) {
|
||||
|
||||
Reference in new issue
Block a user