From da329909f93597970afd169cee28ece3bee7127b Mon Sep 17 00:00:00 2001 From: HampusM Date: Sun, 15 Oct 2023 00:06:07 +0200 Subject: feat(engine): add logging OpenGL debug messages --- engine/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'engine/Cargo.toml') diff --git a/engine/Cargo.toml b/engine/Cargo.toml index 40b2e9f..ff52cce 100644 --- a/engine/Cargo.toml +++ b/engine/Cargo.toml @@ -3,8 +3,12 @@ name = "engine" version = "0.1.0" edition = "2021" +[features] +debug = ["dep:tracing"] + [dependencies] glfw = { path = "../glfw" } thiserror = "1.0.49" gl = "0.14.0" bitflags = "2.4.0" +tracing = { version = "0.1.39", optional = true } -- cgit v1.2.3-18-g5258