projects
/
profile
/
ivi
/
weston.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cf18a32
)
smoke: Remove unused offset member
author
Daniel Stone
<daniel@fooishbar.org>
Wed, 7 Nov 2012 06:51:36 +0000
(17:51 +1100)
committer
Kristian Høgsberg
<krh@bitplanet.net>
Thu, 8 Nov 2012 19:08:53 +0000
(14:08 -0500)
Signed-off-by: Daniel Stone <daniel@fooishbar.org>
clients/smoke.c
patch
|
blob
|
history
diff --git
a/clients/smoke.c
b/clients/smoke.c
index
905e53f
..
80b8c58
100644
(file)
--- a/
clients/smoke.c
+++ b/
clients/smoke.c
@@
-37,7
+37,7
@@
struct smoke {
struct window *window;
struct widget *widget;
int width, height;
- int
offset,
current;
+ int current;
uint32_t time;
struct { float *d, *u, *v; } b[2];
};
@@
-295,7
+295,6
@@
int main(int argc, char *argv[])
window_set_buffer_type(smoke.window, WINDOW_BUFFER_TYPE_SHM);
clock_gettime(CLOCK_MONOTONIC, &ts);
srandom(ts.tv_nsec);
- smoke.offset = random();
smoke.current = 0;
size = smoke.height * smoke.width;