Merge pull request #353 from houqp/master

set full screen refresh on every page turn
This commit is contained in:
Tigran Aivazian
2012-10-03 00:47:28 -07:00
2 changed files with 5 additions and 1 deletions

View File

@@ -29,6 +29,7 @@ ifdef SBOX_UNAME_MACHINE
endif
HOSTCC:=gcc
HOSTCXX:=g++
HOSTAR:=ar
# Base CFLAGS, without arch. We'll need it for luajit, because its Makefiles do some tricky stuff to differentiate HOST/TARGET
BASE_CFLAGS:=-O2 -ffast-math -pipe -fomit-frame-pointer -fno-stack-protector -U_FORTIFY_SOURCE
@@ -53,6 +54,7 @@ endif
ifdef EMULATE_READER
CC:=$(HOSTCC) -g
CXX:=$(HOSTCXX)
AR:=$(HOSTAR)
EMULATE_READER_W?=824
EMULATE_READER_H?=1200
EMU_CFLAGS?=$(shell sdl-config --cflags)
@@ -188,6 +190,7 @@ cleanthirdparty:
rm -rf $(DJVUDIR)/build
rm -f $(MUPDFDIR)/fontdump.host
rm -f $(MUPDFDIR)/cmapdump.host
rm -rf $(POPENNSLIB)
$(MAKE) -C $(POPENNSDIR) clean
$(MUPDFDIR)/fontdump.host:

View File

@@ -22,7 +22,8 @@ UniReader = {
-- framebuffer update policy state:
rcount = 5,
rcountmax = 5,
-- default to full refresh on every page turn
rcountmax = 0,
-- zoom state:
globalzoom = 1.0,