diff options
| author | Levent Kaya <levent@dev> | 2025-11-04 12:33:48 +0300 |
|---|---|---|
| committer | Levent Kaya <levent@dev> | 2025-11-04 12:33:48 +0300 |
| commit | 2ce38cae044750a10127e07080168dccc1fe3534 (patch) | |
| tree | 88b8cb290f021a8aeb6d1a8b49701e6f23004659 /examples/line.c | |
| parent | a0f757ca37cb66a0ed34ba59421721bfbd3619cc (diff) | |
[fix] hardcoded fb descriptor fixed
Diffstat (limited to 'examples/line.c')
| -rw-r--r-- | examples/line.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/line.c b/examples/line.c index c57fe1f..b8406f4 100644 --- a/examples/line.c +++ b/examples/line.c @@ -4,7 +4,7 @@ int main() { fbgl_t buffer; - if (fbgl_init("/dev/fb0", &buffer) == -1) { + if (fbgl_init(NULL, &buffer) == -1) { fprintf(stdout, "Error: could not open framebuffer device\n"); return -1; } |
