diff options
author | Herman Semenov <GermanAizek@yandex.ru> | 2022-09-02 09:40:02 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-09-02 08:40:02 +0200 |
commit | d733e03430cf623d722b2efe87872b68bb3d4d1f (patch) | |
tree | 768d2ab2ecfb92b40d3acda1f2057a2cf5ea8f2e /source/Irrlicht/CWGLManager.cpp | |
parent | f0766c845f85c2f467843f20cf811c62cd2402c7 (diff) | |
download | irrlicht-d733e03430cf623d722b2efe87872b68bb3d4d1f.tar.xz |
Fix glHint parameter, type size and add more null checks (#130)
Diffstat (limited to 'source/Irrlicht/CWGLManager.cpp')
-rw-r--r-- | source/Irrlicht/CWGLManager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source/Irrlicht/CWGLManager.cpp b/source/Irrlicht/CWGLManager.cpp index 182c460..0d7ef42 100644 --- a/source/Irrlicht/CWGLManager.cpp +++ b/source/Irrlicht/CWGLManager.cpp @@ -46,13 +46,12 @@ bool CWGLManager::initialize(const SIrrlichtCreationParameters& params, const SE wcex.cbClsExtra = 0;
wcex.cbWndExtra = 0;
wcex.hInstance = lhInstance;
- wcex.hIcon = NULL;
+ wcex.hIcon = 0;
wcex.hCursor = LoadCursor(NULL, IDC_ARROW);
wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW+1);
wcex.lpszMenuName = 0;
wcex.lpszClassName = ClassName;
wcex.hIconSm = 0;
- wcex.hIcon = 0;
RegisterClassEx(&wcex);
RECT clientSize;
|