Added/Fixed support for Mac OS X.

Added/Fixed support for 64 bits platforms.
This commit is contained in:
spartanj@gmail.com
2011-07-11 02:39:21 -03:00
parent 5c80592528
commit 7b6a6ee817
66 changed files with 178 additions and 182 deletions

View File

@@ -271,8 +271,8 @@ void cParticleSystem::Draw() {
Uint32 alloc = mPCount * sizeof(cParticle);
GLi->ColorPointer ( 4, GL_FLOAT, sizeof(cParticle), reinterpret_cast<char*>( &mParticle[0] ) + sizeof(eeFloat) * 2 , alloc );
GLi->VertexPointer ( 2, GL_FLOAT, sizeof(cParticle), reinterpret_cast<char*>( &mParticle[0] ) , alloc );
GLi->ColorPointer ( 4, GL_FP, sizeof(cParticle), reinterpret_cast<char*>( &mParticle[0] ) + sizeof(eeFloat) * 2 , alloc );
GLi->VertexPointer ( 2, GL_FP, sizeof(cParticle), reinterpret_cast<char*>( &mParticle[0] ) , alloc );
GLi->DrawArrays( GL_POINTS, 0, (GLsizei)mPCount );