diff options
Diffstat (limited to 'src/native/d3d')
-rw-r--r-- | src/native/d3d/D3dCtx.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/native/d3d/D3dCtx.cpp b/src/native/d3d/D3dCtx.cpp index fa70e9f..572f2b0 100644 --- a/src/native/d3d/D3dCtx.cpp +++ b/src/native/d3d/D3dCtx.cpp @@ -470,7 +470,11 @@ BOOL D3dCtx::initialize(JNIEnv *env, jobject obj) d3dPresent.BackBufferWidth, d3dPresent.BackBufferHeight); } - return false; + //return false; + // Issue #578 fix on zero dimension window size + d3dPresent.BackBufferWidth = 1; + d3dPresent.BackBufferHeight = 1; + // end fix } |