summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--glpong.c2
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;
}