view TVout/matroxset/swapped @ 7261:ec187e86b20b

pass outflags[] index via sh->outfmtidx to the vd->control() func (for VfW) small hack - but other possible solutions are even worse :)
author arpi
date Tue, 03 Sep 2002 21:40:30 +0000
parents 3b5f5d1c5041
children
line wrap: on
line source

#! /bin/sh

if [ -c /dev/fb0 ]; then
  HEAD0=/dev/fb0
  HEAD1=/dev/fb1
else
  HEAD0=/dev/fb/0
  HEAD1=/dev/fb/1
fi
matroxset -f ${HEAD1} -m 0
matroxset -f ${HEAD0} -m 2
matroxset -f ${HEAD1} -m 1