view nodejs/run.sh @ 1080:394d7d4c0673 openvg

Fix issue that tank does not update window with OpenVG. It was caused by - invalid attribute list, - invalid config for the context, and - forget to call eglSwapBuffers().
author Thinker K.F. Li <thinker@codemud.net>
date Thu, 02 Dec 2010 12:22:55 +0800
parents 652199a55802
children 613a7caa9bd6
line wrap: on
line source

#!/bin/sh

ABS=`realpath $0`
BASE=`dirname $ABS`
NODE_PATH=$BASE:$BASE/objs/default:$NODE_PATH
export NODE_PATH

DIR=`dirname $1`
FNAME=`basename $1`

cd $DIR; node $FNAME