Skip to content

Commit

Permalink
Exclude shader asserts from headless in CSMFReadMap::UpdateVisNormals…
Browse files Browse the repository at this point in the history
…AndShadingTexture
  • Loading branch information
lhog committed Mar 9, 2025
1 parent a9dca65 commit f5bf4e1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rts/Map/SMF/SMFReadMap.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -688,7 +688,9 @@ void CSMFReadMap::UpdateVisNormalsAndShadingTexture(const SRectangle& update)
{
RECOIL_DETAILED_TRACY_ZONE;

#ifndef HEADLESS
assert(shadingFBO->IsValid() && shadingShader->IsValid());
#endif // !HEADLESS

using namespace GL::State;
auto state = GL::SubState(
Expand Down

0 comments on commit f5bf4e1

Please sign in to comment.