Commit 4be82de3 authored by hybrid's avatar hybrid

Make sure the struct is initialized to 0

git-svn-id: svn://svn.code.sf.net/p/irrlicht/code/trunk@2998 dfc29bdd-3216-0410-991c-e03cc46cb475
parent 5b030dbc
...@@ -24,6 +24,9 @@ you are using the software or the null device. ...@@ -24,6 +24,9 @@ you are using the software or the null device.
*/ */
struct SExposedVideoData struct SExposedVideoData
{ {
SExposedVideoData() {OpenGLWin32.HDc=0; OpenGLWin32.HRc=0; OpenGLWin32.HWnd=0;}
explicit SExposedVideoData(void* Window) {OpenGLWin32.HDc=0; OpenGLWin32.HRc=0; OpenGLWin32.HWnd=Window;}
union union
{ {
struct struct
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment