[Bf-blender-cvs] [edd8c87] decklink: BGE DeckLink: small linux compilation fix.
Benoit Bolsee
noreply at git.blender.org
Fri Apr 10 23:01:26 CEST 2015
Commit: edd8c874d8049c73f9b6ca7190a94c64e7509cf3
Author: Benoit Bolsee
Date: Fri Apr 10 23:00:36 2015 +0200
Branches: decklink
https://developer.blender.org/rBedd8c874d8049c73f9b6ca7190a94c64e7509cf3
BGE DeckLink: small linux compilation fix.
===================================================================
M source/gameengine/VideoTexture/DeckLink.cpp
===================================================================
diff --git a/source/gameengine/VideoTexture/DeckLink.cpp b/source/gameengine/VideoTexture/DeckLink.cpp
index 8cc8614..c0f6c40 100644
--- a/source/gameengine/VideoTexture/DeckLink.cpp
+++ b/source/gameengine/VideoTexture/DeckLink.cpp
@@ -203,7 +203,7 @@ public:
// IUnknown
virtual HRESULT STDMETHODCALLTYPE QueryInterface(REFIID iid, LPVOID *ppv)
{
- if (iid == IID_IDeckLinkVideoFrame3DExtensions)
+ if (!memcmp(&iid, &IID_IDeckLinkVideoFrame3DExtensions, sizeof(iid)))
{
if (mpRightEye)
{
More information about the Bf-blender-cvs
mailing list