Add hint about turning on SHM on Sun
This commit is contained in:
parent
2c93c071d1
commit
d562f588cf
1 changed files with 1 additions and 0 deletions
|
@ -69,6 +69,7 @@ bool WindowBackend_Software_CreateWindow(const char *window_title, size_t screen
|
||||||
Backend_PrintInfo("Using X shared memory extension for higher image transfer speeds.\n");
|
Backend_PrintInfo("Using X shared memory extension for higher image transfer speeds.\n");
|
||||||
} else {
|
} else {
|
||||||
Backend_PrintInfo("Unable to use X shared memory extension. Expect lower performance.\n");
|
Backend_PrintInfo("Unable to use X shared memory extension. Expect lower performance.\n");
|
||||||
|
Backend_PrintInfo("On Sun, you might need to do the following:\n\nsetenv DISPLAY :0\nsetenv XSUNTRANSPORT shmem\nsetenv XSUNSMESIZE 512\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
window = XCreateWindow(xDisplay, rootWindow, 0, 0, screen_width, screen_height, 0, 24, InputOutput, xVisual, 0, NULL);
|
window = XCreateWindow(xDisplay, rootWindow, 0, 0, screen_width, screen_height, 0, 24, InputOutput, xVisual, 0, NULL);
|
||||||
|
|
Loading…
Add table
Reference in a new issue