mirror of
https://github.com/slendidev/lunar.git
synced 2026-03-17 06:06:50 +02:00
11
src/Util.cpp
11
src/Util.cpp
@@ -1,7 +1,18 @@
|
||||
#include "Util.h"
|
||||
|
||||
#include <cstdlib>
|
||||
#include <span>
|
||||
|
||||
namespace Lunar {
|
||||
|
||||
auto tracy_runtime_enabled() -> bool
|
||||
{
|
||||
static bool enabled = std::getenv("LUNAR_NO_TRACY") == nullptr;
|
||||
return enabled;
|
||||
}
|
||||
|
||||
} // namespace Lunar
|
||||
|
||||
namespace vkutil {
|
||||
|
||||
auto transition_image(vk::CommandBuffer cmd, vk::Image image,
|
||||
|
||||
Reference in New Issue
Block a user