aboutsummaryrefslogtreecommitdiff
path: root/source/Irrlicht/CWGLManager.cpp
diff options
context:
space:
mode:
authorHerman Semenov <GermanAizek@yandex.ru>2022-09-02 09:40:02 +0300
committerGitHub <noreply@github.com>2022-09-02 08:40:02 +0200
commitd733e03430cf623d722b2efe87872b68bb3d4d1f (patch)
tree768d2ab2ecfb92b40d3acda1f2057a2cf5ea8f2e /source/Irrlicht/CWGLManager.cpp
parentf0766c845f85c2f467843f20cf811c62cd2402c7 (diff)
downloadirrlicht-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.cpp3
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;