Fixed "Werror" related compilation problems on Linux and Meego.
This commit is contained in:
@@ -102,21 +102,9 @@ void hgeDistortionMesh::SetTexture(JTexture* tex)
|
||||
void hgeDistortionMesh::SetTextureRect(float x, float y, float w, float h)
|
||||
{
|
||||
int i,j;
|
||||
float tw,th;
|
||||
|
||||
tx=x; ty=y; width=w; height=h;
|
||||
|
||||
if (quad->mTex)
|
||||
{
|
||||
tw=(float)quad->mTex->mTexWidth;
|
||||
th=(float)quad->mTex->mTexHeight;
|
||||
}
|
||||
else
|
||||
{
|
||||
tw = w;
|
||||
th = h;
|
||||
}
|
||||
|
||||
cellw=w/(nCols-1);
|
||||
cellh=h/(nRows-1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user