qt: Enable and make VNC work properly

This commit is contained in:
Cacodemon345
2022-08-03 13:05:21 +06:00
parent e375bc216f
commit 468ef84399
5 changed files with 55 additions and 5 deletions

View File

@@ -51,6 +51,8 @@ plat_vidapi(char* api) {
return 4;
} else if (!strcasecmp(api, "qt_d3d9")) {
return 5;
} else if (!strcasecmp(api, "vnc")) {
return 6;
}
return 0;
@@ -78,6 +80,9 @@ char* plat_vidapi_name(int api) {
case 5:
name = "qt_d3d9";
break;
case 6:
name = "vnc";
break;
default:
fatal("Unknown renderer: %i\n", api);
break;