Patch by Jorma Karvonen fixing the 3DMov build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@37477 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Wim van der Meer 2010-07-12 11:51:41 +00:00
parent 140f3bd884
commit 56f0a9c0ec
2 changed files with 2 additions and 1 deletions

View File

@ -70,6 +70,7 @@ MainWindow :: MainWindow(BRect frame, SHAPE shape)
case BOOK: AddChild(fCurrentView = new ViewBook(frame)); break;
case CUBE: AddChild(fCurrentView = new ViewCube(frame)); break;
case SPHERE: AddChild(fCurrentView = new ViewSphere(frame)); break;
case NUMBER_OF_SHAPES: break;
}
//AddShortcut('f', B_COMMAND_KEY, new BMessage(MSG_FULLSCREEN));

View File

@ -77,7 +77,7 @@ void MediaSource :: SetVideo(Video *video)
DESCRIPTION: Constructor
*/
ViewObject :: ViewObject(BRect frame)
: BGLView(frame, (char *) "3Dmov_view", B_FOLLOW_ALL_SIDES, 0, BGL_RGB | BGL_DOUBLE | BGL_DEPTH)
: BGLView(frame, "3Dmov_view", B_FOLLOW_ALL_SIDES, 0, BGL_RGB | BGL_DOUBLE | BGL_DEPTH)
{
sCountViewObjects++;