From 2e249541b427234b108dcd3fb8363b60d98ff79b Mon Sep 17 00:00:00 2001 From: bung87 Date: Sat, 30 Mar 2024 23:22:03 +0800 Subject: [PATCH] remove echo from context.nim --- src/fidget/opengl/context.nim | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/fidget/opengl/context.nim b/src/fidget/opengl/context.nim index a0b25a2f..d0d57999 100644 --- a/src/fidget/opengl/context.nim +++ b/src/fidget/opengl/context.nim @@ -194,7 +194,6 @@ proc hash(v: Vec2): Hash = proc grow(ctx: Context) = ctx.draw() ctx.atlasSize = ctx.atlasSize * 2 - echo "grow atlasSize ", ctx.atlasSize ctx.heights.setLen(ctx.atlasSize) ctx.atlasTexture = ctx.createAtlasTexture(ctx.atlasSize) ctx.entries.clear() @@ -424,7 +423,6 @@ proc getOrLoadImageRect(ctx: Context, imagePath: string | Hash): Rect = filePath.add ".png" if hash(filePath) notin ctx.entries: # Need to load imagePath, check to see if the .flippy file is around - echo "[load] ", filePath if not fileExists(filePath): raise newException(Exception, &"Image '{filePath}' not found") let flippyFilePath = filePath.changeFileExt(".flippy")