diff options
| author | iamcheeseman <[email protected]> | 2026-05-28 20:12:01 -0400 |
|---|---|---|
| committer | iamcheeseman <[email protected]> | 2026-05-28 20:13:07 -0400 |
| commit | 78520499d6c444e435879eef1ac96cdff9e6c4d1 (patch) | |
| tree | 40e9e5942d1d8c1884760db10e15184d4fbc0a79 | |
| parent | b0c612196a7a287fc77590ef1b07e7b5e0badc8a (diff) | |
rename gl platform to desktop
| -rw-r--r-- | build.env | 2 | ||||
| -rwxr-xr-x | build.sh | 2 | ||||
| -rw-r--r-- | platform/desktop/GLFW/glfw3.h (renamed from platform/gl/GLFW/glfw3.h) | 0 | ||||
| -rw-r--r-- | platform/desktop/GLFW/glfw3native.h (renamed from platform/gl/GLFW/glfw3native.h) | 0 | ||||
| -rw-r--r-- | platform/desktop/desktop.c (renamed from platform/gl/gl.c) | 6 | ||||
| -rw-r--r-- | platform/desktop/glad/KHR/khrplatform.h (renamed from platform/gl/glad/KHR/khrplatform.h) | 0 | ||||
| -rw-r--r-- | platform/desktop/glad/glad.c (renamed from platform/gl/glad/glad.c) | 0 | ||||
| -rw-r--r-- | platform/desktop/glad/glad.h (renamed from platform/gl/glad/glad.h) | 0 |
8 files changed, 5 insertions, 5 deletions
@@ -1,4 +1,4 @@ CC=cc -PLATFORM=gl +PLATFORM=desktop OUT=demonchime DBFLAGS='-g -ggdb -rdynamic -DTEENSY_DEBUG' @@ -23,7 +23,7 @@ for flag in $@; do esac done -if [ "$PLATFORM" == 'gl' ]; then +if [ "$PLATFORM" == 'desktop' ]; then LDFLAGS="$LDFLAGS ./libglfw3.a" fi diff --git a/platform/gl/GLFW/glfw3.h b/platform/desktop/GLFW/glfw3.h index 9c55ac9..9c55ac9 100644 --- a/platform/gl/GLFW/glfw3.h +++ b/platform/desktop/GLFW/glfw3.h diff --git a/platform/gl/GLFW/glfw3native.h b/platform/desktop/GLFW/glfw3native.h index 92f0d32..92f0d32 100644 --- a/platform/gl/GLFW/glfw3native.h +++ b/platform/desktop/GLFW/glfw3native.h diff --git a/platform/gl/gl.c b/platform/desktop/desktop.c index 3f15160..9574c9c 100644 --- a/platform/gl/gl.c +++ b/platform/desktop/desktop.c @@ -1,4 +1,4 @@ -// The OpenGL platform. Uses GLFW for an interface with the OS. The code +// The desktop platform. Uses GLFW for an interface with the OS. The code // quality here is meh. Things could be organized more into functions, but as // for now, it works fine, and isn't worth improving immediately. @@ -45,9 +45,9 @@ typedef struct { GLint uniform_tex_loc; GLuint screen_handle; uint32_t typed; -} Gl_Platform; +} Desktop_Platform; -Gl_Platform p; +Desktop_Platform p; static void character_callback(GLFWwindow *window, unsigned int cp) diff --git a/platform/gl/glad/KHR/khrplatform.h b/platform/desktop/glad/KHR/khrplatform.h index 0164644..0164644 100644 --- a/platform/gl/glad/KHR/khrplatform.h +++ b/platform/desktop/glad/KHR/khrplatform.h diff --git a/platform/gl/glad/glad.c b/platform/desktop/glad/glad.c index 27295bf..27295bf 100644 --- a/platform/gl/glad/glad.c +++ b/platform/desktop/glad/glad.c diff --git a/platform/gl/glad/glad.h b/platform/desktop/glad/glad.h index e30aabd..e30aabd 100644 --- a/platform/gl/glad/glad.h +++ b/platform/desktop/glad/glad.h |
