Fix a mistake.

This commit is contained in:
ehofman 2005-01-14 13:12:44 +00:00
parent 899734296b
commit cd11a5dc27

View File

@ -832,7 +832,7 @@ SGTexture::make_normalmap(float brightness) {
map[mpos+0] = (128+(texture_data[posxp1]-texture_data[dpos])/2);
map[mpos+1] = (128+(texture_data[posyp1]-texture_data[dpos])/2);
map[mpos+2] = 128 + GLubyte(128*brightness);
map[mpos+2] = 127 + GLubyte(128*brightness);
}
free (texture_data);