Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenoit Bolsee <benoit.bolsee@online.be>2015-11-02 16:28:14 +0300
committerBenoit Bolsee <benoit.bolsee@online.be>2015-11-02 16:28:14 +0300
commitef40f9164ca943a89e9fa0e9e13c1faa2da65aa2 (patch)
tree4d8d4bfeaf9172ef58b8aa8236dae0d5be4bf54e /source/gameengine/VideoTexture
parent309b4ad8407f3c2af3190cf61c36609f690936c6 (diff)
Fix warnings when compiling WITH_DECKLINK=OFF and WITH_X11_ALPHA=OFF
Diffstat (limited to 'source/gameengine/VideoTexture')
-rw-r--r--source/gameengine/VideoTexture/Exception.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/gameengine/VideoTexture/Exception.cpp b/source/gameengine/VideoTexture/Exception.cpp
index eccb7f7310e..322b7f9aef3 100644
--- a/source/gameengine/VideoTexture/Exception.cpp
+++ b/source/gameengine/VideoTexture/Exception.cpp
@@ -225,9 +225,10 @@ void registerAllExceptions(void)
SourceVideoEmptyDesc.registerDesc();
SourceVideoCreationDesc.registerDesc();
OffScreenInvalidDesc.registerDesc();
+#ifdef WITH_DECKLINK
+ AutoDetectionNotAvailDesc.registerDesc();
DeckLinkBadDisplayModeDesc.registerDesc();
DeckLinkBadPixelFormatDesc.registerDesc();
- AutoDetectionNotAvailDesc.registerDesc();
DeckLinkOpenCardDesc.registerDesc();
DeckLinkBadFormatDesc.registerDesc();
DeckLinkInternalErrorDesc.registerDesc();
@@ -236,4 +237,5 @@ void registerAllExceptions(void)
VideoDeckLinkOpenCardDesc.registerDesc();
VideoDeckLinkDvpInternalErrorDesc.registerDesc();
VideoDeckLinkPinMemoryErrorDesc.registerDesc();
+#endif
}