Fixed debug GL functions on windows (amend)
- Removed the dependency on windows.h for windows. I feel it's an unnecessarily large dependency to have to add to all source files when the only thing that's needed to make the windows version compile the debug functions is just the __stdcall call convention keyword. On top of increasing compile time due to the large number of headers it includes from all the windows API headers, it also adds a lot of potential name conflicts, as I was getting a number of name conflicts for lots of names like near/far, which were used in old legacy 16bit windows code.
Showing
想要评论请 注册 或 登录