Renderer: Add NAZARA_REQUEST_DEDICATED_GPU macro
This commit is contained in:
@@ -15,6 +15,8 @@
|
||||
#include <iostream>
|
||||
#include <random>
|
||||
|
||||
NAZARA_REQUEST_DEDICATED_GPU()
|
||||
|
||||
/*
|
||||
[layout(std140)]
|
||||
struct PointLight
|
||||
|
||||
@@ -18,6 +18,8 @@
|
||||
#include <array>
|
||||
#include <iostream>
|
||||
|
||||
NAZARA_REQUEST_DEDICATED_GPU()
|
||||
|
||||
int main()
|
||||
{
|
||||
std::filesystem::path resourceDir = "resources";
|
||||
|
||||
@@ -8,6 +8,8 @@
|
||||
#include <array>
|
||||
#include <iostream>
|
||||
|
||||
NAZARA_REQUEST_DEDICATED_GPU()
|
||||
|
||||
const char shaderSource[] = R"(
|
||||
|
||||
option red: bool;
|
||||
|
||||
Reference in New Issue
Block a user