From 3d07835f2a1b342c69e9bece46ff5bc3eed6d9cd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stephan=20A=C3=9Fmus?= Date: Sat, 26 Mar 2005 22:11:52 +0000 Subject: [PATCH] init display mode git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12053 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/servers/app/drawing/DisplayDriver.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/servers/app/drawing/DisplayDriver.cpp b/src/servers/app/drawing/DisplayDriver.cpp index 9cb563f28e..f5decd79e0 100644 --- a/src/servers/app/drawing/DisplayDriver.cpp +++ b/src/servers/app/drawing/DisplayDriver.cpp @@ -43,7 +43,9 @@ DisplayDriver::DisplayDriver() fDPMSState(B_DPMS_ON), fDPMSCaps(B_DPMS_ON) { - // TODO: somehow init fDisplayMode + fDisplayMode.virtual_width = 640; + fDisplayMode.virtual_height = 480; + fDisplayMode.space = B_RGBA32; }