Skip to content

Commit 20dbe78

Browse files
committed
ovis: add PF_DEPTH32F read-back support
1 parent a8c7a56 commit 20dbe78

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/ovis/src/ovis.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -446,6 +446,9 @@ class WindowSceneImpl : public WindowScene
446446
case PF_BYTE_RGBA:
447447
dst_type = CV_8UC4;
448448
break;
449+
#if OGRE_VERSION >= ((1 << 16) | (12 << 8) | 3)
450+
case PF_DEPTH32F:
451+
#endif
449452
case PF_FLOAT32_R:
450453
dst_type = CV_32F;
451454
break;

0 commit comments

Comments
 (0)