updated for vc++ 2012 x64 compile

This commit is contained in:
Mark Vejvoda
2013-11-03 01:51:20 +00:00
parent 651edc6f1c
commit 8b5e681ae5
13 changed files with 51 additions and 51 deletions

View File

@@ -1400,7 +1400,7 @@ public:
return indexValue;
}
int size() {
return meshes.size();
return (int)meshes.size();
}
std::vector<Mesh *> get() {
return meshes;
@@ -1719,7 +1719,7 @@ void Model::autoJoinMeshFrames() {
delete [] meshes;
meshes = joinedMeshList;
meshCount = joinedMeshes.size();
meshCount = (uint32)joinedMeshes.size();
}
}
@@ -1817,7 +1817,7 @@ void PixelBufferWrapper::end() {
void PixelBufferWrapper::cleanup() {
if(PixelBufferWrapper::isPBOEnabled == true) {
if(pboIds.empty() == false) {
glDeleteBuffersARB(pboIds.size(), &pboIds[0]);
glDeleteBuffersARB((int)pboIds.size(), &pboIds[0]);
pboIds.clear();
}
}