Fix for bad default setting and libpng using /GL

meow-7.2.2
Dave Parks 2011-04-13 13:43:32 -05:00
parent 13e12b2773
commit 12f9f521ee
3 changed files with 6 additions and 6 deletions

View File

@ -1026,9 +1026,9 @@
<key>archive</key>
<map>
<key>hash</key>
<string>735a955e6442733e2342ab12c1087488</string>
<string>f194ba857ca8dd86483a3ef24535d0db</string>
<key>url</key>
<string>http://s3.amazonaws.com/viewer-source-downloads/install_pkgs/libpng-1.5.1-windows-20110221.tar.bz2</string>
<string>http://automated-builds-secondlife-com.s3.amazonaws.com/hg/repo/3p-libpng/rev/226532/arch/CYGWIN/installer/libpng-1.5.1-windows-20110413.tar.bz2</string>
</map>
<key>name</key>
<string>windows</string>

View File

@ -7178,7 +7178,7 @@
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>1.0</integer>
<integer>0</integer>
</map>
<key>RenderLocalLights</key>

View File

@ -768,9 +768,9 @@ LLPolyMesh::LLPolyMesh(LLPolyMeshSharedData *shared_data, LLPolyMesh *reference_
// Allocate memory without initializing every vector
// NOTE: This makes asusmptions about the size of LLVector[234]
int nverts = mSharedData->mNumVertices;
int nfloats = nverts * (2*4 + 3*3 + 2 + 4);
//use 16 byte aligned vertex data to make LLPolyMesh SSE friendly
mVertexData = (F32*) malloc(nfloats*4);
int nfloats = nverts * (2*4 + 3*3 + 2 + 4);
//use 16 byte aligned vertex data to make LLPolyMesh SSE friendly
mVertexData = (F32*) malloc(nfloats*4);
int offset = 0;
mCoords = (LLVector4*)(mVertexData + offset); offset += 4*nverts;
mNormals = (LLVector4*)(mVertexData + offset); offset += 4*nverts;