index
:
glpong
master
2D pong in OpenGL
mattst88
summary
refs
log
tree
commit
diff
log msg
author
committer
range
diff options
context:
1
2
3
4
5
6
7
8
9
10
15
20
25
30
35
40
space:
include
ignore
mode:
unified
ssdiff
stat only
Diffstat
-rw-r--r--
glpong.c
2
1 files changed, 1 insertions, 1 deletions
diff --git a/glpong.c b/glpong.c
index 6642f3b..6e87e26 100644
--- a/
glpong.c
+++ b/
glpong.c
@@ -182,7 +182,7 @@ NextPow2(unsigned int value) {
: "c" (value)
);
#else
- unsigned int x = 0;
+ unsigned int x = 2;
while (x < value) {
x *= 2;
}