From bdd7f9e9deabb3a9cc56b76042b35f82c8420da1 Mon Sep 17 00:00:00 2001 From: Jaromil Date: Tue, 31 Dec 2024 00:24:18 +0100 Subject: [PATCH] chore: polish opengl demo and add reuse entry --- REUSE.toml | 6 ++++++ examples/opengl.c | 2 -- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/REUSE.toml b/REUSE.toml index 35cd6d0..ee4fe2b 100644 --- a/REUSE.toml +++ b/REUSE.toml @@ -39,6 +39,12 @@ precedence = "aggregate" SPDX-FileCopyrightText = "Copyright (c) 2016 Jer Wilson" SPDX-License-Identifier = "MIT" +[[annotations]] +path = ["examples/opengl.c"] +precedence = "aggregate" +SPDX-FileCopyrightText = "Copyright (c) 2020 Andrew Dailey" +SPDX-License-Identifier = "MIT" + [[annotations]] path = "examples/tinyc.games/res/PixelatedEleganceRegular.ttf" precedence = "aggregate" diff --git a/examples/opengl.c b/examples/opengl.c index 860682c..6f35787 100755 --- a/examples/opengl.c +++ b/examples/opengl.c @@ -24,8 +24,6 @@ #include #include -#define SDL_DISABLE_IMMINTRIN_H 1 -#define SDL_MAIN_HANDLED 1 #include #include