summaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2011-10-20 21:22:18 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2011-10-20 21:22:18 (GMT)
commite6d4073f5b343c26779a67d65aaedd09512490a7 (patch)
tree0e57555ef4fc66d1e7251e1ee3ee28071bfc7f4d /src/main.c
parenteaafcaeecc008577834acf56f43b122030cc056b (diff)
downloadpowder-e6d4073f5b343c26779a67d65aaedd09512490a7.zip
powder-e6d4073f5b343c26779a67d65aaedd09512490a7.tar.gz
Use FBO for particles
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 01620ef..0f6d112 100644
--- a/src/main.c
+++ b/src/main.c
@@ -1784,7 +1784,7 @@ int main(int argc, char *argv[])
#ifdef OGLR
if (cmode==CM_PERS)//save background for persistent, then clear
{
- clearScreen(1.0f);
+ clearScreen(0.01f);
memset(part_vbuf, 0, (XRES+BARSIZE)*YRES*PIXELSIZE);
}
else //clear screen every frame