From f0c9432a7ceffa42b7401bd9dc2f924292b07bff Mon Sep 17 00:00:00 2001 From: Connor Thomson Date: Thu, 10 Sep 2026 19:39:55 -0700 Subject: Update formatting in gpu.c a little bit more --- src/gpu.c | 29 +++++++++++++++-------------- 1 file changed, 15 insertions(+), 14 deletions(-) (limited to 'src') 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 && -- cgit v1.2.3