Skip to content

Commit 8e4a17f

Browse files
authored
[RCFILE] Removed some obsolete env. var. (#3311)
These are specific to Linux Steam, but they're not needed anymore.
1 parent cc11701 commit 8e4a17f

File tree

5 files changed

+0
-76
lines changed

5 files changed

+0
-76
lines changed

docs/USAGE.md

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -255,20 +255,6 @@ Arguments to pass to the guest program, only valid if there is no existing argum
255255
* XXXX: Pass argument XXXX to the program.
256256
* XXXX YYYY ZZZZ: Pass arguments XXXX, YYYY and ZZZZ to the guest program.
257257

258-
### BOX64_CEFDISABLEGPU
259-
260-
Add -cef-disable-gpu argument to the guest program.
261-
262-
* 0: Does nothing. [Default]
263-
* 1: Add -cef-disable-gpu argument to the guest program.
264-
265-
### BOX64_CEFDISABLEGPUCOMPOSITING
266-
267-
Add -cef-disable-gpu-compositing argument to the guest program.
268-
269-
* 0: Does nothing. [Default]
270-
* 1: Add -cef-disable-gpu-compositing argument to the guest program.
271-
272258
### BOX64_INSERT_ARGS
273259

274260
Prepend arguments to the command line.

docs/box64.pod

Lines changed: 0 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -107,22 +107,6 @@ Path to the bash executable.
107107
* XXXX : Use bash executable at path XXXX.
108108

109109

110-
=item B<BOX64_CEFDISABLEGPU> =I<0|1>
111-
112-
Add -cef-disable-gpu argument to the guest program.
113-
114-
* 0 : Does nothing. [Default]
115-
* 1 : Add -cef-disable-gpu argument to the guest program.
116-
117-
118-
=item B<BOX64_CEFDISABLEGPUCOMPOSITING> =I<0|1>
119-
120-
Add -cef-disable-gpu-compositing argument to the guest program.
121-
122-
* 0 : Does nothing. [Default]
123-
* 1 : Add -cef-disable-gpu-compositing argument to the guest program.
124-
125-
126110
=item B<BOX64_CPUTYPE> =I<0|1>
127111

128112
Specify the CPU type to emulate. Available in WowBox64.

docs/gen/usage.json

Lines changed: 0 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -135,42 +135,6 @@
135135
}
136136
]
137137
},
138-
{
139-
"name": "BOX64_CEFDISABLEGPU",
140-
"description": "Add -cef-disable-gpu argument to the guest program.",
141-
"category": "Arguments",
142-
"wine": false,
143-
"options": [
144-
{
145-
"key": "0",
146-
"description": "Does nothing.",
147-
"default": true
148-
},
149-
{
150-
"key": "1",
151-
"description": "Add -cef-disable-gpu argument to the guest program.",
152-
"default": false
153-
}
154-
]
155-
},
156-
{
157-
"name": "BOX64_CEFDISABLEGPUCOMPOSITING",
158-
"description": "Add -cef-disable-gpu-compositing argument to the guest program.",
159-
"category": "Arguments",
160-
"wine": false,
161-
"options": [
162-
{
163-
"key": "0",
164-
"description": "Does nothing.",
165-
"default": true
166-
},
167-
{
168-
"key": "1",
169-
"description": "Add -cef-disable-gpu-compositing argument to the guest program.",
170-
"default": false
171-
}
172-
]
173-
},
174138
{
175139
"name": "BOX64_CPUTYPE",
176140
"description": "Specify the CPU type to emulate.",

src/core.c

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,14 +1078,6 @@ int initialize(int argc, const char **argv, char** env, x64emu_t** emulator, elf
10781078
{
10791079
add_argv("--in-process-gpu");
10801080
}
1081-
if(BOX64ENV(cefdisablegpu))
1082-
{
1083-
add_argv("-cef-disable-gpu");
1084-
}
1085-
if(BOX64ENV(cefdisablegpucompositing))
1086-
{
1087-
add_argv("-cef-disable-gpu-compositing");
1088-
}
10891081
// add new args only if there is no args already
10901082
if(BOX64ENV(args)) {
10911083
char tmp[256];

src/include/env.h

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,6 @@ extern char* ftrace_name;
4444
STRING(BOX64_ARGS, args, 0) \
4545
STRING(BOX64_BASH, bash, 0) \
4646
STRING(BOX64_PYTHON3, python3, 0) \
47-
BOOLEAN(BOX64_CEFDISABLEGPU, cefdisablegpu, 0, 0) \
48-
BOOLEAN(BOX64_CEFDISABLEGPUCOMPOSITING, cefdisablegpucompositing, 0, 0) \
4947
INTEGER(BOX64_CPUTYPE, cputype, 0, 0, 1, 1) \
5048
BOOLEAN(BOX64_CRASHHANDLER, dummy_crashhandler, 1, 0) \
5149
BOOLEAN(BOX64_DLSYM_ERROR, dlsym_error, 0, 0) \

0 commit comments

Comments
 (0)