![](https://attach.openclonk.org/avatars/1-0778.png)
Well, I made sure that CMake generates proper bundles. What's missing off the top of my mind:
* fixing the bugs that crash OC on startup and shutdown (wrong OpenGL initialization order, according to Günther)
* a proper icon set
* we might have to have another look at the script that automatically bundled up the dependencies
* we should reevaluate whether we can put the base game data into the bundle now
* Maybe make a proper DMG-type install package?
Apart from that, I think we should be good to go.
* fixing the bugs that crash OC on startup and shutdown (wrong OpenGL initialization order, according to Günther)
* a proper icon set
* we might have to have another look at the script that automatically bundled up the dependencies
* we should reevaluate whether we can put the base game data into the bundle now
* Maybe make a proper DMG-type install package?
Apart from that, I think we should be good to go.
![](https://attach.openclonk.org/avatars/1-0778.png)
![](https://attach.openclonk.org/avatars/24-4666.png)
> fixing the bugs that crash OC on startup and shutdown (wrong OpenGL initialization order, according to Günther)
More precisely, the problem is that D3D has to be initialized before setting the video mode, but OpenGL has to be initialized after changing the video mode with SDL. For Win32 and X11, OpenGL only needs the window, but not the changed video mode, thus can use the same order as D3D. Considering the already sorry state of the D3D port, I simply changed the order to accommodate the SDL port. In the longer term, we could move the video-mode-setting back into DDrawInit. Splitting it up was done in order to make ingame resolution changes sane, but the different initialization order requirements make that untenable.
Well, I know it was discussed over and over, but since there is no real reason why DX is neccesary why not remove it? Perhaps reimplementing it at a later date...?
![](https://attach.openclonk.org/avatars/52-34572.png)
![](https://attach.openclonk.org/avatars/24-4666.png)
Powered by mwForum 2.29.7 © 1999-2015 Markus Wichitill