diff options
| author | Jack Jamison <jackqjamison@gmail.com> | 2025-12-21 23:49:40 -0500 |
|---|---|---|
| committer | Jack Jamison <jackqjamison@gmail.com> | 2025-12-21 23:49:40 -0500 |
| commit | bd6bc98539d7d256b372fe393a4a040724ac2544 (patch) | |
| tree | 3662d700288fe4facef88d08f9ea4a6a8b9924cd /zola-static/content | |
| parent | 388f1645f25f9ec02ce36773a15a8fc1b12fbbf0 (diff) | |
improve styling
Diffstat (limited to 'zola-static/content')
| -rw-r--r-- | zola-static/content/blog/sdl-native-wayland.md | 4 | ||||
| -rw-r--r-- | zola-static/content/projects/goomba-render.md | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/zola-static/content/blog/sdl-native-wayland.md b/zola-static/content/blog/sdl-native-wayland.md index c495645..1f163f7 100644 --- a/zola-static/content/blog/sdl-native-wayland.md +++ b/zola-static/content/blog/sdl-native-wayland.md @@ -7,7 +7,7 @@ updated = 2025-08-08 [SDL3](https://wiki.libsdl.org/SDL3/FrontPage) is a great platform abstraction layer. On Linux, it compiles with support for both [X Window System](https://www.x.org/wiki/) and [Wayland](https://wayland.freedesktop.org/). This is great because it makes your app compatible with just about any desktop environment or window manager. In the [SDL3 documentation](https://wiki.libsdl.org/SDL3/README-wayland) it says that > Wayland is a replacement for the X11 window system protocol and architecture and is favored over X11 by default in SDL3 -However, if your compositor does not implement the `wp_fifo_manager_v1` protocol SDL will fall back to XWayland. I don't know how this protocol fits into the Wayland ecosystem, but my compositor doesn't have it. Here's how I forced SDL to use Wayland anyway (for c++). +However, if your compositor does not implement the `wp_fifo_manager_v1` protocol SDL will fall back to XWayland. My compositor doesn't have it, and here's how I forced SDL to use Wayland anyway (for c++). ```c++ for (int i = 0; i < SDL_GetNumVideoDrivers(); i++) { if (std::string(SDL_GetVideoDriver(i)) == "wayland") { @@ -16,4 +16,4 @@ for (int i = 0; i < SDL_GetNumVideoDrivers(); i++) { } } ``` -This code will explicitly enable Wayland if it is available. Thanks to my friend Riley for helping figure it out. +This code will explicitly enable Wayland if it is available. diff --git a/zola-static/content/projects/goomba-render.md b/zola-static/content/projects/goomba-render.md index ef82682..83728e8 100644 --- a/zola-static/content/projects/goomba-render.md +++ b/zola-static/content/projects/goomba-render.md @@ -1,5 +1,5 @@ +++ -title = 'Goomba Render' +title = 'Goomba Rendering Engine' date = 2024-11-09 [extra] cover = "goomba-render.png" |
