From b0cadcab42b11175aadbd426507df0053bc8054e Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Sat, 23 Feb 2008 19:45:35 +0000 Subject: Fix dumb mistake git-svn-id: svn://mattst88.com/svn/glpong/trunk@11 449aeecc-241a-0410-943f-e2f883e2d7a2 --- glpong.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3