index
:
glpong3d
master
3D 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--
glpong3d.c
2
1 files changed, 1 insertions, 1 deletions
diff --git a/glpong3d.c b/glpong3d.c
index c4739a8..0037b4f 100644
--- a/
glpong3d.c
+++ b/
glpong3d.c
@@ -467,7 +467,7 @@ NextPow2(unsigned int value) {
: "c" (value)
);
#else
- unsigned int x = 0;
+ unsigned int x = 2;
while (x < value) {
x *= 2;
}