nem0 / LumixEngine

3D C++ Game Engine - yet another open source game engine
MIT License
3.51k stars 396 forks source link

Fully integrate SDL #860

Closed nem0 closed 8 years ago

nem0 commented 8 years ago

It turned out using SDL causes more problems than it solves, even though it's a great library. For example: it has only 32bit atomics and Lumix requires 64bit too, or it is not possible to set thread's stack size in SDL.

ongamex commented 8 years ago

Although it's totally unrelated, I've a few points in favor of "no SDL"(taken from my experience). SDL depends on few deprecated libraries from DirectXSDK Jun2010 in order to support direct input, and could possibly lead to errors if those libraries are mixed with the currently official DirectX SDK. Additionally it is a nightmare to build the library yourself.

nem0 commented 8 years ago

@ongamex I stopped using it further and I will probably replace it completely in some time. It's a nice library and it serves it purpose, but I do not like using 3rd party libs and keeping it here just to handle a window is unnecessary.