mirror of
https://port.numenaute.org/aleajactaest/khanat-opennel-code.git
synced 2024-11-23 15:46:18 +00:00
Changed: #825 Remove all warnings when compiling Ryzom
This commit is contained in:
parent
11d9de671d
commit
e7a2f7e121
2 changed files with 3 additions and 3 deletions
|
@ -1018,8 +1018,8 @@ void CPatchDLMContext::computeTextureFar()
|
||||||
// compute src pixel
|
// compute src pixel
|
||||||
const CRGBA *srcPixel= pTile->getPixels(CTileFarBank::diffuse, CTileFarBank::order1);
|
const CRGBA *srcPixel= pTile->getPixels(CTileFarBank::diffuse, CTileFarBank::order1);
|
||||||
// compute src info, for this tile rot and 256x256 context.
|
// compute src info, for this tile rot and 256x256 context.
|
||||||
sint srcDeltaX;
|
sint srcDeltaX = 0;
|
||||||
sint srcDeltaY;
|
sint srcDeltaY = 0;
|
||||||
srcPixel= computeTileFarSrcDeltas(nRot, is256x256, uvOff, srcPixel, srcDeltaX, srcDeltaY);
|
srcPixel= computeTileFarSrcDeltas(nRot, is256x256, uvOff, srcPixel, srcDeltaX, srcDeltaY);
|
||||||
|
|
||||||
// compute dst coordinate. start writing at pixel (1,1)
|
// compute dst coordinate. start writing at pixel (1,1)
|
||||||
|
|
|
@ -2118,7 +2118,7 @@ bool CPrimAlias::read (xmlNodePtr xmlNode, const char *filename, uint version, C
|
||||||
xmlNodePtr ptNode = CIXml::getFirstChildNode (xmlNode, "ALIAS");
|
xmlNodePtr ptNode = CIXml::getFirstChildNode (xmlNode, "ALIAS");
|
||||||
if (ptNode)
|
if (ptNode)
|
||||||
{
|
{
|
||||||
int val;
|
sint val = 0;
|
||||||
if (ReadInt ("VALUE", val, filename, ptNode))
|
if (ReadInt ("VALUE", val, filename, ptNode))
|
||||||
{
|
{
|
||||||
_Alias = uint32(val);
|
_Alias = uint32(val);
|
||||||
|
|
Loading…
Reference in a new issue