updated setmode command: only disable TVout when it's actually supported.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@14387 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rudolf Cornelissen
2005-10-14 20:08:59 +00:00
parent 4594e58a1b
commit 0703480cab
@@ -90,8 +90,8 @@ status_t SET_DISPLAY_MODE(display_mode *mode_to_set)
/* disable interrupts using the kernel driver */
interrupt_enable(false);
/* disable TVout */
BT_stop_tvout();
/* disable TVout if supported */
if (si->ps.tvout) BT_stop_tvout();
/* find current DPMS state, then turn off screen(s) */
head1_dpms_fetch(&display, &h, &v);