Skip to content

Commit

Permalink
REVERT disabling of echo in graphics.nim
Browse files Browse the repository at this point in the history
Because system can now be imported without dependency cycles again
  • Loading branch information
ninovanhooff committed Feb 14, 2025
1 parent ac27f1d commit 7c406d1
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/playdate/graphics.nim
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import std/importutils

import system
import bindings/[api, types]
import bindings/graphics
import domain/lcdbitmap {.all.}
Expand Down Expand Up @@ -55,7 +56,7 @@ proc getInfo*(this: LCDVideoPlayer): tuple[width: int, height: int, frameRate: f
proc getContext*(this: LCDVideoPlayer): LCDBitmap =
privateAccess(PlaydateVideo)
let bitmapPtr = playdate.graphics.video.getContext(this.resource)
# echo(fmt"video context: {bitmapPtr.repr}")
echo(fmt"video context: {bitmapPtr.repr}")
if this.context == nil or this.context.resource != bitmapPtr:
this.context = bitmapPtr(bitmapPtr)
return this.context
Expand Down

0 comments on commit 7c406d1

Please sign in to comment.