projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-4.06.tar.gz
[xscreensaver]
/
hacks
/
glx
/
atlantis.c
diff --git
a/hacks/glx/atlantis.c
b/hacks/glx/atlantis.c
index 5c37d8603b158b15428cdef5dcda8cbd06d28548..d37998954977d62cd442aab77f5209bf329ea5c8 100644
(file)
--- a/
hacks/glx/atlantis.c
+++ b/
hacks/glx/atlantis.c
@@
-174,8
+174,10
@@
ModStruct atlantis_description =
static atlantisstruct *atlantis = NULL;
#include "xpm-ximage.h"
static atlantisstruct *atlantis = NULL;
#include "xpm-ximage.h"
+
#include "../images/sea-texture.xpm"
#include "../images/sea-texture.xpm"
+
static void
parse_image_data(ModeInfo *mi)
{
static void
parse_image_data(ModeInfo *mi)
{
@@
-373,10
+375,10
@@
clear_tank (atlantisstruct * ap)
i = 0;
while (i < size)
{
i = 0;
while (i < size)
{
- pixels[i
++] = 0
;
- pixels[i
++] = (start + (i>>2)) * 0.56
;
- pixels[i
++] = (start + (i>>2))
;
- pixels[i
++] = 255
;
+ pixels[i
] = 0; i++
;
+ pixels[i
] = (start + (i>>2)) * 0.56; i++
;
+ pixels[i
] = (start + (i>>2)); i++
;
+ pixels[i
] = 255; i++
;
}
clear_gl_error();
}
clear_gl_error();