]> git.tdb.fi Git - libs/gl.git/commitdiff
Enable geometry shaders by default
authorMikko Rasa <tdb@tdb.fi>
Sun, 12 Dec 2021 11:01:38 +0000 (13:01 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sun, 12 Dec 2021 11:01:38 +0000 (13:01 +0200)
source/backends/vulkan/device_backend.cpp

index cc94e967f03c5372b18211d96ac4a2557fe44aa5..efdd596cdc873a1e3bcb02acb0263fe35e11de0e 100644 (file)
@@ -25,6 +25,7 @@ VulkanDevice::~VulkanDevice()
 Graphics::VulkanOptions VulkanDevice::create_default_options()
 {
        Graphics::VulkanOptions opts;
+       opts.enable_geometry_shader = true;
 #ifdef DEBUG
        opts.enable_validation = true;
        opts.enable_debug_report = true;