Tool refactoring
This commit is contained in:
14
src/dawnglfw/debug/debug.hpp
Normal file
14
src/dawnglfw/debug/debug.hpp
Normal file
@ -0,0 +1,14 @@
|
||||
// Copyright (c) 2023 Dominic Masters
|
||||
//
|
||||
// This software is released under the MIT License.
|
||||
// https://opensource.org/licenses/MIT
|
||||
|
||||
#pragma once
|
||||
#include "dawnlibs.hpp"
|
||||
|
||||
// Draws an error message on screen and force closes the app after user input
|
||||
template<typename... A>
|
||||
void debugMessage(const char *fmt, A... args) {
|
||||
printf(fmt, args...);
|
||||
printf("\n");
|
||||
}
|
Reference in New Issue
Block a user