summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2008-02-23 19:44:49 +0000
committerMatt Turner <mattst88@gmail.com>2008-02-23 19:44:49 +0000
commit965fdd704e97ce96bd1a0eaffa5f9c2546d86441 (patch)
treee70c53070e6c43c98b5bbef6bc7ae07cd11fed01
parente510996901c57f36f226d0eec3c929fb8b69b8e0 (diff)
Fix dumb mistake
git-svn-id: svn://mattst88.com/svn/glpong3d/trunk@20 4dd1920e-271a-0410-bca0-81b404a81564
-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;
}