summaryrefslogtreecommitdiff
path: root/glpong3d.c
diff options
context:
space:
mode:
Diffstat (limited to 'glpong3d.c')
-rw-r--r--glpong3d.c2
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;
}