Skip to content

Commit c295050

Browse files
corporatesharkmeta-codesync[bot]
authored andcommitted
igl | IGLU | Add Tracy profiler markers to texture_loader/stb_png/TextureLoaderFactory
Reviewed By: rudybear Differential Revision: D115179604 fbshipit-source-id: 1b84420e39447344749b52bb581c2d5aa8128320
1 parent b1b2dc6 commit c295050

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

IGLU/texture_loader/stb_png/TextureLoaderFactory.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
#include <IGLU/texture_loader/stb_png/TextureLoaderFactory.h>
99

1010
#include <IGLU/texture_loader/stb_png/Header.h>
11+
#include <igl/Macros.h>
1112

1213
namespace iglu::textureloader::stb::png {
1314

@@ -24,6 +25,7 @@ uint32_t TextureLoaderFactory::minHeaderLength() const noexcept {
2425
}
2526

2627
bool TextureLoaderFactory::isIdentifierValid(DataReader headerReader) const noexcept {
28+
IGL_PROFILER_FUNCTION();
2729
const Header* header = headerReader.as<Header>();
2830
return header->tagIsValid();
2931
}

0 commit comments

Comments
 (0)