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:
parent
140f3bd884
commit
56f0a9c0ec
|
@ -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));
|
||||
|
|
|
@ -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++;
|
||||
|
||||
|
|
Loading…
Reference in New Issue