| 52 | } |
| 53 | |
| 54 | bool RendererWindow::open(PxU32 width, PxU32 height, const char *title, bool fullscreen) |
| 55 | { |
| 56 | bool ok = false; |
| 57 | RENDERER_ASSERT(width && height, "Attempting to open a window with invalid width and/or height."); |
| 58 | if(width && height) |
| 59 | { |
| 60 | ok = m_platform->openWindow(width, height, title, fullscreen); |
| 61 | #if !defined(RENDERER_WINDOWS) |
| 62 | m_isOpen = true; |
| 63 | #endif |
| 64 | } |
| 65 | return ok; |
| 66 | } |
| 67 | |
| 68 | void RendererWindow::close(void) |
| 69 | { |
no test coverage detected