Skip to content

Commit

Permalink
Fix blank mesh preview on latest Nvidia driver (Win10)
Browse files Browse the repository at this point in the history
  • Loading branch information
Auburn committed Oct 3, 2021
1 parent b96a996 commit 732577d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NoiseTool/FastNoiseNodeEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -472,7 +472,7 @@ FastNoiseNodeEditor::FastNoiseNodeEditor() :

ImNodes::GetStyle().MiniMapPadding = ImVec2( 8, 8 );

#ifdef _DEBUG
#ifndef NDEBUG
mNodeBenchmarkMax = 1;
#endif

Expand Down Expand Up @@ -547,7 +547,7 @@ void FastNoiseNodeEditor::DoNodeBenchmarks()
void FastNoiseNodeEditor::Draw( const Matrix4& transformation, const Matrix4& projection, const Vector3& cameraPosition )
{
const ImGuiViewport* viewport = ImGui::GetMainViewport();
ImGui::DockSpaceOverViewport( viewport );
ImGui::DockSpaceOverViewport( viewport, ImGuiDockNodeFlags_PassthruCentralNode );

std::string simdTxt = "Current SIMD Level: ";
simdTxt += GetSIMDLevelName( mActualSIMDLevel );
Expand Down

0 comments on commit 732577d

Please sign in to comment.