summaryrefslogtreecommitdiff
path: root/sys/src/9/pc
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2016-12-29 03:46:08 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2016-12-29 03:46:08 +0100
commit8547defe701a6ea353b12e61008a28e0b6967134 (patch)
treee94698c8acfc29116bc2e192dc833f8608e13c02 /sys/src/9/pc
parent9e95cb1ac9877f0be226ff93aa058574b4b2804b (diff)
vgaigfx: enable softscreen by default
given that the igfx driver doesnt provide any acceleration functions and drawing is usually faster with double buffering as it eleminates reads over the pci bus, enable softscreen by default.
Diffstat (limited to 'sys/src/9/pc')
-rw-r--r--sys/src/9/pc/vgaigfx.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/src/9/pc/vgaigfx.c b/sys/src/9/pc/vgaigfx.c
index d1d01708c..173d8c245 100644
--- a/sys/src/9/pc/vgaigfx.c
+++ b/sys/src/9/pc/vgaigfx.c
@@ -103,6 +103,7 @@ igfxenable(VGAscr* scr)
if(scr->storage != 0)
scr->storage -= PGROUND(64*64*4);
}
+ scr->softscreen = 1;
}
VGAdev vgaigfxdev = {