mirror of
https://github.com/dockur/windows.git
synced 2026-09-13 21:38:22 +01:00
Update display.sh
This commit is contained in:
+7
-3
@@ -357,13 +357,13 @@ vmvgaGpuSetup() {
|
||||
|
||||
vmvgaSetup() {
|
||||
|
||||
if enabled "${DEBUG_GPU:-}"; then
|
||||
DISPLAY_OPTS+=",debug=on"
|
||||
if [[ "${BOOT_MODE:-}" == "windows_legacy" ]]; then
|
||||
DISPLAY_OPTS+=",vgamem_mb=16"
|
||||
fi
|
||||
|
||||
if enabled "$GPU"; then
|
||||
|
||||
if [[ "${VGPU,,}" != "auto" ]]; then
|
||||
if [ -n "$VGPU"] && [[ "${VGPU,,}" != "auto" ]]; then
|
||||
DISPLAY_OPTS+=",vgpu=$VGPU"
|
||||
fi
|
||||
|
||||
@@ -373,6 +373,10 @@ vmvgaSetup() {
|
||||
|
||||
fi
|
||||
|
||||
if enabled "${DEBUG_GPU:-}"; then
|
||||
DISPLAY_OPTS+=",debug=on"
|
||||
fi
|
||||
|
||||
return 0
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user