aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTomaka17 <pierre.krieger1708@gmail.com>2014-08-12 11:01:18 +0200
committerTomaka17 <pierre.krieger1708@gmail.com>2014-08-12 11:01:18 +0200
commit837efc5460b1a9a4b692c823095e2b9c9a91fbef (patch)
treef20ff229fcd9029f08e13ee998bd37347bae0d48
parent53b9d6398c5e88ce5ab67be06837ee0f285e516f (diff)
downloadglutin-837efc5460b1a9a4b692c823095e2b9c9a91fbef.tar.gz
glutin-837efc5460b1a9a4b692c823095e2b9c9a91fbef.zip
Fix attempt for #22
-rw-r--r--src/win32/init.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/win32/init.rs b/src/win32/init.rs
index 69797b6..77a864e 100644
--- a/src/win32/init.rs
+++ b/src/win32/init.rs
@@ -402,6 +402,10 @@ extern "stdcall" fn callback(window: ffi::HWND, msg: ffi::UINT,
0
},
+ ffi::WM_ERASEBKGND => {
+ 1
+ },
+
ffi::WM_SIZE => {
use Resized;
let w = ffi::LOWORD(lparam as ffi::DWORD) as uint;