Skip to content

Commit 831f8d7

Browse files
authored
Merge pull request #807 from uintmax/demo-rawfb-wl-context
Fix Rawfb Wayland Demo
2 parents 3d0f61b + 16a6303 commit 831f8d7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

demo/rawfb/wayland/main.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -516,7 +516,7 @@ int main ()
516516
pl.gloss = 0;
517517
pl.bloss = 0;
518518

519-
nk_rawfb_init(nk_wayland_ctx.data, nk_wayland_ctx.tex_scratch, WIDTH, HEIGHT, WIDTH*4, pl);
519+
nk_wayland_ctx.rawfb = nk_rawfb_init(nk_wayland_ctx.data, nk_wayland_ctx.tex_scratch, WIDTH, HEIGHT, WIDTH*4, pl);
520520

521521

522522
//4. rendering UI

0 commit comments

Comments
 (0)