| 33 | } |
| 34 | |
| 35 | MYGUIEXPORT void MYGUICALL Export_DestroyGUI() |
| 36 | { |
| 37 | if (gGUI) |
| 38 | { |
| 39 | gGUI->shutdown(); |
| 40 | delete gGUI; |
| 41 | gGUI = nullptr; |
| 42 | } |
| 43 | if (gPlatform) |
| 44 | { |
| 45 | gPlatform->shutdown(); |
| 46 | delete gPlatform; |
| 47 | gPlatform = nullptr; |
| 48 | } |
| 49 | } |
| 50 | |
| 51 | MYGUIEXPORT void MYGUICALL Export_SetRenderWindow(const char* _name) |
| 52 | { |