Skip to content

Commit 412c7d2

Browse files
committed
init viewport color format to the correct initial value
1 parent 6e90f09 commit 412c7d2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tsd/src/tsd/ui/imgui/windows/Viewport.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ struct Viewport : public BaseViewport
8787
float m_depthVisualMaximum{1.f};
8888
float m_edgeThreshold{0.5f};
8989
bool m_edgeInvert{false};
90-
anari::DataType m_colorFormat = ANARI_UNKNOWN;
90+
anari::DataType m_colorFormat{ANARI_UFIXED8_RGBA_SRGB};
9191

9292
// Picking state //
9393

0 commit comments

Comments
 (0)