From 302d883f34864bc66a5e04532ae27d7e89fd94e8 Mon Sep 17 00:00:00 2001 From: skal Date: Wed, 28 Jan 2026 09:31:13 +0100 Subject: style: Add 3-line descriptive headers to all source files This commit applies a new project-wide rule that every source file must begin with a concise 3-line comment header describing its purpose. - Updated CONTRIBUTING.md with the new rule. - Applied headers to all .cc and .h files in src/ and tools/. - Fixed various minor compilation errors and missing includes discovered during the header update process. --- src/gpu/gpu.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'src/gpu/gpu.h') diff --git a/src/gpu/gpu.h b/src/gpu/gpu.h index 87d4b9b..028b31b 100644 --- a/src/gpu/gpu.h +++ b/src/gpu/gpu.h @@ -1,6 +1,10 @@ +// This file is part of the 64k demo project. +// It defines the public interface for the GPU rendering system. +// Coordinates WebGPU lifecycle and draw calls. + #pragma once struct GLFWwindow; void gpu_init(GLFWwindow *window); void gpu_draw(float audio_peak, float aspect_ratio); -void gpu_shutdown(); +void gpu_shutdown(); \ No newline at end of file -- cgit v1.2.3