mirror of
https://github.com/charles-lunarg/vk-bootstrap.git
synced 2024-11-22 07:24:34 +00:00
Provide a way to disable the debug callback
This commit is contained in:
parent
683d014241
commit
82b7a0ed01
@ -381,6 +381,8 @@ class InstanceBuilder {
|
|||||||
// Checks if the validation layers are available and loads them if they are.
|
// Checks if the validation layers are available and loads them if they are.
|
||||||
InstanceBuilder& request_validation_layers(bool enable_validation = true);
|
InstanceBuilder& request_validation_layers(bool enable_validation = true);
|
||||||
|
|
||||||
|
// Disables the debug messenger and clears the debug callback
|
||||||
|
InstanceBuilder& disable_debug_messenger();
|
||||||
// Use a default debug callback that prints to standard out.
|
// Use a default debug callback that prints to standard out.
|
||||||
InstanceBuilder& use_default_debug_messenger();
|
InstanceBuilder& use_default_debug_messenger();
|
||||||
// Provide a user defined debug callback.
|
// Provide a user defined debug callback.
|
||||||
|
Loading…
Reference in New Issue
Block a user