diff options
Diffstat (limited to '')
-rw-r--r-- | ClientHamr/extantz/crappisspuke.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/ClientHamr/extantz/crappisspuke.cpp b/ClientHamr/extantz/crappisspuke.cpp index 47a6353..90cbbed 100644 --- a/ClientHamr/extantz/crappisspuke.cpp +++ b/ClientHamr/extantz/crappisspuke.cpp | |||
@@ -116,6 +116,11 @@ EAPI int startIrr(GLData *gld) | |||
116 | driver = device->getVideoDriver(); gld->driver = driver; | 116 | driver = device->getVideoDriver(); gld->driver = driver; |
117 | smgr = device->getSceneManager(); gld->smgr = smgr; | 117 | smgr = device->getSceneManager(); gld->smgr = smgr; |
118 | 118 | ||
119 | device->setResizable(true); | ||
120 | driver->OnResize(dimension2d<u32>(gld->sfc_w, gld->sfc_h)); | ||
121 | // Just gives me a blank screen. grrrr | ||
122 | // driver->setViewPort(rect<s32>(0, 0, gld->sfc_w, gld->sfc_h)); | ||
123 | |||
119 | // set ambient light | 124 | // set ambient light |
120 | smgr->setAmbientLight (video::SColorf(0x00c0c0c0)); | 125 | smgr->setAmbientLight (video::SColorf(0x00c0c0c0)); |
121 | 126 | ||
@@ -202,6 +207,7 @@ EAPI void drawIrr_start(GLData *gld) | |||
202 | call everything is presented on the screen. | 207 | call everything is presented on the screen. |
203 | */ | 208 | */ |
204 | driver->beginScene(true, true, SColor(255, 100, 101, 140), videoData, NULL); // This does the context change, then clearBuffers() | 209 | driver->beginScene(true, true, SColor(255, 100, 101, 140), videoData, NULL); // This does the context change, then clearBuffers() |
210 | |||
205 | smgr->drawAll(); | 211 | smgr->drawAll(); |
206 | } | 212 | } |
207 | } | 213 | } |