Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions attachments/38_ray_tracing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ struct PushConstant {
#endif // LAB_TASK_LEVEL >= LAB_TASK_REFLECTIONS
};

class HelloTriangleApplication {
class VulkanRaytracingApplication {
public:
void run() {
initWindow();
Expand Down Expand Up @@ -238,7 +238,7 @@ class HelloTriangleApplication {
}

static void framebufferResizeCallback(GLFWwindow* window, int width, int height) {
auto app = static_cast<HelloTriangleApplication*>(glfwGetWindowUserPointer(window));
auto app = static_cast<VulkanRaytracingApplication*>(glfwGetWindowUserPointer(window));
app->framebufferResized = true;
}

Expand Down Expand Up @@ -305,7 +305,7 @@ class HelloTriangleApplication {
}

void createInstance() {
constexpr vk::ApplicationInfo appInfo{ .pApplicationName = "Hello Triangle",
constexpr vk::ApplicationInfo appInfo{ .pApplicationName = "Vulkan Tutorial Ray Tracing",
.applicationVersion = VK_MAKE_VERSION( 1, 0, 0 ),
.pEngineName = "No Engine",
.engineVersion = VK_MAKE_VERSION( 1, 0, 0 ),
Expand Down Expand Up @@ -1960,7 +1960,7 @@ class HelloTriangleApplication {

int main() {
try {
HelloTriangleApplication app;
VulkanRaytracingApplication app;
app.run();
} catch (const std::exception& e) {
std::cerr << e.what() << std::endl;
Expand Down
Loading