summaryrefslogtreecommitdiff
path: root/src/gpu
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpu')
-rw-r--r--src/gpu/effect.cc5
-rw-r--r--src/gpu/gpu.cc1
2 files changed, 0 insertions, 6 deletions
diff --git a/src/gpu/effect.cc b/src/gpu/effect.cc
index f24fa96..0d4dde7 100644
--- a/src/gpu/effect.cc
+++ b/src/gpu/effect.cc
@@ -210,11 +210,6 @@ void MainSequence::resize(int width, int height) {
void MainSequence::render_frame(float global_time, float beat, float peak,
float aspect_ratio, WGPUSurface surface) {
- static bool first_frame = true;
- if (first_frame) {
- printf("MainSequence First Frame: %dx%d\n", width_, height_);
- first_frame = false;
- }
WGPUCommandEncoder encoder = wgpuDeviceCreateCommandEncoder(device, nullptr);
std::vector<SequenceItem*> scene_effects;
diff --git a/src/gpu/gpu.cc b/src/gpu/gpu.cc
index 5537433..3e8981c 100644
--- a/src/gpu/gpu.cc
+++ b/src/gpu/gpu.cc
@@ -367,7 +367,6 @@ void gpu_init(PlatformState* platform_state) {
g_config.usage = WGPUTextureUsage_RenderAttachment;
g_config.width = platform_state->width;
g_config.height = platform_state->height;
- printf("WebGPU Init: %dx%d\n", g_config.width, g_config.height);
g_config.presentMode = WGPUPresentMode_Fifo;
g_config.alphaMode = WGPUCompositeAlphaMode_Opaque;
wgpuSurfaceConfigure(g_surface, &g_config);