diff options
author | Ted Jump <[email protected]> | 1999-09-19 02:03:18 +0000 |
---|---|---|
committer | Ted Jump <[email protected]> | 1999-09-19 02:03:18 +0000 |
commit | 725ec81ae80e024df4a5490405dbfbc598533e6e (patch) | |
tree | ac0115bd0729dea1f6ffde983f85e266b13e851e /progs | |
parent | 1bf9dfaf5dea61e3d33a69b0a549be54ef6d74df (diff) |
More Win32 build compliance fixups
Diffstat (limited to 'progs')
-rw-r--r-- | progs/redbook/image.c | 2 | ||||
-rw-r--r-- | progs/samples/overlay.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/progs/redbook/image.c b/progs/redbook/image.c index 8e62f5afd35..dc1a7246eba 100644 --- a/progs/redbook/image.c +++ b/progs/redbook/image.c @@ -64,7 +64,7 @@ void makeCheckImage(void) for (i = 0; i < checkImageHeight; i++) { for (j = 0; j < checkImageWidth; j++) { - c = ((((i&0x8)==0)^((j&0x8))==0))*255; + c = (((i&0x8)==0)^((j&0x8)==0))*255; checkImage[i][j][0] = (GLubyte) c; checkImage[i][j][1] = (GLubyte) c; checkImage[i][j][2] = (GLubyte) c; diff --git a/progs/samples/overlay.c b/progs/samples/overlay.c index 0def2b1105e..4542b49a0a7 100644 --- a/progs/samples/overlay.c +++ b/progs/samples/overlay.c @@ -347,7 +347,7 @@ int main(int argc, char **argv) if (!glutLayerGet(GLUT_OVERLAY_POSSIBLE)) { fprintf(stderr, "Overlay not available\n"); - return; + return(1); } if (Args(argc, argv) == GL_FALSE) { |