summaryrefslogtreecommitdiff
path: root/src/gpu.c
diff options
context:
space:
mode:
authorConnor Thomson <blumatrikz@gmail.com>2026-09-10 19:39:55 -0700
committerConnor Thomson <blumatrikz@gmail.com>2026-09-10 19:39:55 -0700
commitf0c9432a7ceffa42b7401bd9dc2f924292b07bff (patch)
tree9ae62e44d7cc421e54133c7839124f994a2803fb /src/gpu.c
parent90ae917c55829d889c7212b0b4d26e4ff6135122 (diff)
Update formatting in gpu.c a little bit more
Diffstat (limited to 'src/gpu.c')
-rw-r--r--src/gpu.c29
1 files changed, 15 insertions, 14 deletions
diff --git a/src/gpu.c b/src/gpu.c
index 7f667a0..2d2a74b 100644
--- a/src/gpu.c
+++ b/src/gpu.c
@@ -27,20 +27,21 @@
#define SPIRV_ENTRY_POINT "main"
-SDL_GPUDevice *ta_gpu_device;
-SDL_GPUGraphicsPipeline *ta_gpu_text_pipeline;
-SDL_GPUTexture *ta_gpu_text_texture;
-SDL_GPUSampler *ta_gpu_text_sampler;
-Uint32 ta_gpu_text_texture_width;
-Uint32 ta_gpu_text_texture_height;
-static SDL_GPUTexture *ta_gpu_msaa_texture;
-static SDL_GPUTexture *ta_gpu_depth_texture;
-SDL_GPUSampleCount ta_gpu_sample_count = SDL_GPU_SAMPLECOUNT_8;
-SDL_GPUTextureFormat ta_gpu_swapchain_format;
-static Uint32 ta_gpu_msaa_texture_width;
-static Uint32 ta_gpu_msaa_texture_height;
-static SDL_GPUCommandBuffer *ta_gpu_command_buffer;
-static SDL_GPUTexture *ta_gpu_swapchain_texture;
+// NOTE: Does this formatting look good?
+ SDL_GPUDevice *ta_gpu_device;
+ SDL_GPUGraphicsPipeline *ta_gpu_text_pipeline;
+ SDL_GPUTexture *ta_gpu_text_texture;
+ SDL_GPUSampler *ta_gpu_text_sampler;
+ Uint32 ta_gpu_text_texture_width;
+ Uint32 ta_gpu_text_texture_height;
+static SDL_GPUTexture *ta_gpu_msaa_texture;
+static SDL_GPUTexture *ta_gpu_depth_texture;
+ SDL_GPUSampleCount ta_gpu_sample_count = SDL_GPU_SAMPLECOUNT_8;
+ SDL_GPUTextureFormat ta_gpu_swapchain_format;
+static Uint32 ta_gpu_msaa_texture_width;
+static Uint32 ta_gpu_msaa_texture_height;
+static SDL_GPUCommandBuffer *ta_gpu_command_buffer;
+static SDL_GPUTexture *ta_gpu_swapchain_texture;
static void ta_gpu_resize_msaa_texture(SDL_GPUTextureFormat format) {
if (ta_gpu_msaa_texture_width == (Uint32)ta_window_width &&