Changeset 265989d in mainline for uspace/app/gfxdemo/gfxdemo.c


Ignore:
Timestamp:
2020-02-24T17:03:26Z (5 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
2a515dcd
Parents:
1388f7f0
Message:

Applications need to catch up with display server switch

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/gfxdemo/gfxdemo.c

    r1388f7f0 r265989d  
    399399        printf("Init canvas..\n");
    400400
    401         window = window_open("comp:0/winreg", NULL,
     401        window = window_open(DISPLAY_DEFAULT, NULL,
    402402            WINDOW_MAIN | WINDOW_DECORATED, "GFX Demo");
    403403        if (window == NULL) {
     
    462462        printf("Init display..\n");
    463463
    464         rc = display_open(NULL, &display);
     464        rc = display_open(DISPLAY_DEFAULT, &display);
    465465        if (rc != EOK) {
    466466                printf("Error opening display.\n");
Note: See TracChangeset for help on using the changeset viewer.