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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user