Skip to content
This repository has been archived by the owner on Mar 30, 2019. It is now read-only.

Commit

Permalink
[SharpDX] Fixed RenderLoop compilation.
Browse files Browse the repository at this point in the history
  • Loading branch information
ArtiomCiumac committed Dec 8, 2013
1 parent 9fe7857 commit 71ffbee
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/SharpDX/Windows/RenderLoop.cs
Expand Up @@ -155,7 +155,7 @@ public bool NextFrame()
isControlAlive = false;
}

var message = new Message() { HWnd = msg.handle, LParam = msg.lParam, Msg = msg.msg, WParam = msg.wParam };
var message = new Message() { HWnd = msg.handle, LParam = msg.lParam, Msg = (int)msg.msg, WParam = msg.wParam };
if (!Application.FilterMessage(ref message))
{
Win32Native.TranslateMessage(ref msg);
Expand Down

0 comments on commit 71ffbee

Please sign in to comment.