mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-09 04:16:34 +00:00
cleanup
This commit is contained in:
parent
2600dc2efc
commit
f41465005b
@ -172,13 +172,13 @@ void screenBlocksDrawDebug() {
|
||||
glVertex2i(i * 16, j * 16);
|
||||
glVertex2i((i + 1) * 16, j * 16);
|
||||
glVertex2i((i + 1) * 16, (j + 1) * 16);
|
||||
glVertex2i(i * 16,(j + 1)*16);
|
||||
glVertex2i(i * 16, (j + 1) * 16);
|
||||
glEnd();
|
||||
}
|
||||
}
|
||||
}
|
||||
glEnable(GL_DEPTH_TEST);
|
||||
glEnable(GL_TEXTURE_2D );
|
||||
glEnable(GL_TEXTURE_2D);
|
||||
glDisable(GL_BLEND);
|
||||
}
|
||||
|
||||
@ -197,8 +197,8 @@ void screenBlocksBlitDirtyBlocks() {
|
||||
glColorMask(GL_FALSE, GL_FALSE, GL_FALSE, GL_FALSE);
|
||||
glDepthMask(GL_TRUE);
|
||||
|
||||
for(j = 0;j < 30;j++) {
|
||||
for(i=0;i<40;i++) {
|
||||
for(j = 0;j < 30; j++) {
|
||||
for(i = 0; i < 40; i++) {
|
||||
if (screenBlockData[i][j].isDirty) {
|
||||
int width = 1;
|
||||
int start = i++;
|
||||
|
@ -82,7 +82,7 @@ public:
|
||||
}
|
||||
|
||||
float dotProduct( float sx, float sy, float sz ) {
|
||||
return x()*sx + y()*sy + z()*sz;
|
||||
return x() * sx + y() * sy + z()*sz;
|
||||
}
|
||||
|
||||
bool isZero() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user