summaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorWladimir J. van der Laan <laanwj@gmail.com>2013-07-04 16:32:18 +0200
committerWladimir J. van der Laan <laanwj@gmail.com>2013-07-04 16:37:28 +0200
commit3c824893db0a497d1c7c4c6b022897ec216a54cc (patch)
tree801b67c8226d5319c0f8af203742559095a70cc1 /README.md
parentd106002854808082fb3606e15f404644ab47e4bf (diff)
driver: fix stencil alpha in mesa
Set stencil operations to KEEP if write mask is 0. When the write mask is 0 and the operations are not set to KEEP, the GPU writes the depth buffer for the entire primitive and not just the area where the stencil test condition holds.
Diffstat (limited to 'README.md')
-rw-r--r--README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/README.md b/README.md
index 8a7e779..26c491d 100644
--- a/README.md
+++ b/README.md
@@ -299,8 +299,8 @@ where the script is installed, and get the `libEGL.so` and `libGLESv2.so` from t
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
export GCCPREFIX="arm-linux-gnueabi-"
- export PLATFORM_CFLAGS="-I${DIR}/include -D_POSIX_C_SOURCE=200809 -D_GNU_SOURCE"
- export PLATFORM_CXXFLAGS="-I${DIR}/include -D_POSIX_C_SOURCE=200809 -D_GNU_SOURCE"
+ export PLATFORM_CFLAGS="-I${DIR}/include"
+ export PLATFORM_CXXFLAGS="-I${DIR}/include"
export PLATFORM_LDFLAGS="-ldl -L${DIR}/lib"
export PLATFORM_GL_LIBS="-lEGL -lGLESv2 -L${TOP}/lib/egl -Xlinker --allow-shlib-undefined"
# Set GC kernel ABI to dove (important!)