|
|
@@ -480,14 +480,14 @@ static int id_seed = 100;
|
|
|
// Access: Public
|
|
|
// Description:
|
|
|
////////////////////////////////////////////////////////////////////
|
|
|
-TinyOsxGraphicsWindow::TinyOsxGraphicsWindow(GraphicsPipe *pipe,
|
|
|
- const string &name,
|
|
|
- const FrameBufferProperties &fb_prop,
|
|
|
- const WindowProperties &win_prop,
|
|
|
- int flags,
|
|
|
- GraphicsStateGuardian *gsg,
|
|
|
- GraphicsOutput *host) :
|
|
|
- GraphicsWindow(pipe, name, fb_prop, win_prop, flags, gsg, host),
|
|
|
+TinyOsxGraphicsWindow::TinyOsxGraphicsWindow(GraphicsEngine *engine, GraphicsPipe *pipe,
|
|
|
+ const string &name,
|
|
|
+ const FrameBufferProperties &fb_prop,
|
|
|
+ const WindowProperties &win_prop,
|
|
|
+ int flags,
|
|
|
+ GraphicsStateGuardian *gsg,
|
|
|
+ GraphicsOutput *host) :
|
|
|
+ GraphicsWindow(engine, pipe, name, fb_prop, win_prop, flags, gsg, host),
|
|
|
_osx_window(NULL),
|
|
|
_is_fullscreen(false),
|
|
|
_pending_icon(NULL),
|
|
|
@@ -801,7 +801,7 @@ bool TinyOsxGraphicsWindow::open_window()
|
|
|
TinyGraphicsStateGuardian *tinygsg;
|
|
|
if (_gsg == 0) {
|
|
|
// There is no old gsg. Create a new one.
|
|
|
- tinygsg = new TinyGraphicsStateGuardian(_pipe, NULL);
|
|
|
+ tinygsg = new TinyGraphicsStateGuardian(_engine, _pipe, NULL);
|
|
|
_gsg = tinygsg;
|
|
|
} else {
|
|
|
DCAST_INTO_R(tinygsg, _gsg, false);
|