Skip to content

Commit 49e999f

Browse files
committed
2 parents 6e6793e + 94c5424 commit 49e999f

File tree

4 files changed

+9
-3
lines changed

4 files changed

+9
-3
lines changed

.github/workflows/package.yml

+4
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,7 @@ jobs:
6161
- name: Deploy
6262
run: |
6363
rsync th_emscripten.a [email protected]:www/tophat-web/dl/th_emscripten.a
64+
- name: Build and deploy playground
65+
run: |
66+
./cmd/th_emscripten_link_playground
67+
rsync -r ../th_wasm_data/wasm-out/* [email protected]:www/tophat-web/playground

lib/umka

Submodule umka updated 1 file

umka/image.um

+3-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ fn (rt: ^RenderTarget) end*(wp: th.Vf2) {
4545

4646
fn umth_image_render_target_to_image(ret: ^Image, rt: RenderTarget)
4747
//~~fn RenderTarget.toImage
48-
// Returns the image of the render target.
48+
// Returns the image of the render target. The resulting image has the same
49+
// lifetime as the base RenderTarget. If you need to use it past the lifetime
50+
// of the RenderTarget, use the copy method.
4951
// Do not call `setfilter` on the resulting image.
5052
fn (rt: ^RenderTarget) toImage*(): Image {
5153
//~~

0 commit comments

Comments
 (0)