summaryrefslogtreecommitdiff
path: root/glfw
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2023-10-08 17:32:59 +0200
committerHampusM <hampus@hampusmat.com>2023-10-08 17:32:59 +0200
commite04add2421e98fb264dd70ff26643c9cefa9b8ad (patch)
tree9fa765b1ccba3897022d1080e24ace559fd2ac73 /glfw
parentbe2b986a8466783f40b8627bbe6a3debbe147964 (diff)
feat(glfw): add Debug derives
Diffstat (limited to 'glfw')
-rw-r--r--glfw/src/init.rs1
-rw-r--r--glfw/src/window.rs1
2 files changed, 2 insertions, 0 deletions
diff --git a/glfw/src/init.rs b/glfw/src/init.rs
index d102db6..b42bb52 100644
--- a/glfw/src/init.rs
+++ b/glfw/src/init.rs
@@ -24,6 +24,7 @@ pub fn initialize() -> Result<Glfw, Error>
}
/// GLFW initialization token.
+#[derive(Debug)]
pub struct Glfw
{
/// This field has two purposes
diff --git a/glfw/src/window.rs b/glfw/src/window.rs
index a080161..fa5dcd7 100644
--- a/glfw/src/window.rs
+++ b/glfw/src/window.rs
@@ -6,6 +6,7 @@ use std::ptr::null_mut;
use crate::init::{initialize, Glfw};
use crate::{get_glfw_error, Error};
+#[derive(Debug)]
pub struct Window
{
_init: Glfw,