Replaced bcopy calls in PlanetEntity.m with memmove ones for portability reasons (linking on Windows was failing with unresolved references to bcopy).
git-svn-id: http://svn.berlios.de/svnroot/repos/oolite-linux/trunk@1140 127b21dd-08f5-0310-b4b7-95ae10353056
This commit is contained in:
parent
f5e3b4894e
commit
f71bd524ed
@ -316,7 +316,7 @@ static GLfloat texture_uv_array[10400 * 2];
|
|||||||
}
|
}
|
||||||
else if (clearSkyColor != nil)
|
else if (clearSkyColor != nil)
|
||||||
{
|
{
|
||||||
bcopy(amb_land, amb_polar_land, sizeof amb_polar_land);
|
memmove(amb_polar_land, amb_land, sizeof amb_polar_land);
|
||||||
amb_polar_land[3] = OOClamp_0_1_f(amb_polar_land[3] * (POLAR_CLEAR_SKY_ALPHA / CLEAR_SKY_ALPHA));
|
amb_polar_land[3] = OOClamp_0_1_f(amb_polar_land[3] * (POLAR_CLEAR_SKY_ALPHA / CLEAR_SKY_ALPHA));
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -327,7 +327,7 @@ static GLfloat texture_uv_array[10400 * 2];
|
|||||||
}
|
}
|
||||||
else if (cloudColor != nil)
|
else if (cloudColor != nil)
|
||||||
{
|
{
|
||||||
bcopy(amb_sea, amb_polar_sea, sizeof amb_polar_sea);
|
memmove(amb_polar_sea, amb_sea, sizeof amb_polar_sea);
|
||||||
amb_polar_sea[3] *= (POLAR_CLOUD_ALPHA / CLOUD_ALPHA);
|
amb_polar_sea[3] *= (POLAR_CLOUD_ALPHA / CLOUD_ALPHA);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user