code cleanup based on cppcheck results

This commit is contained in:
Mark Vejvoda
2013-05-17 03:59:34 +00:00
parent 0c9679b8b2
commit 8408526b12
31 changed files with 85 additions and 117 deletions

View File

@@ -1404,7 +1404,7 @@ Pixmap2D *PixelBufferWrapper::getPixelBufferFor(int x,int y,int w,int h, int col
index = (index + 1) % 2;
// pbo index used for next frame
int nextIndex = (index + 1) % 2;
//int nextIndex = (index + 1) % 2;
// read framebuffer ///////////////////////////////
// copy pixels from framebuffer to PBO