Fix (weird) wording
This commit is contained in:
parent
d49d54df3a
commit
2d8e896333
1 changed files with 4 additions and 6 deletions
|
@ -140,7 +140,7 @@ public final class GraphicsSubsystem implements SubsystemMainClass {
|
||||||
precomputeEventListeners();
|
precomputeEventListeners();
|
||||||
|
|
||||||
// Warn about subsystem and API instability
|
// Warn about subsystem and API instability
|
||||||
logger.warn("The graphics subsystem is experimental. Subsystem, API and Graphics API compatibility is not guaranteed.");
|
logger.warn("The graphics subsystem is experimental. Subsystem and API stability is not guaranteed.");
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -212,17 +212,15 @@ public final class GraphicsSubsystem implements SubsystemMainClass {
|
||||||
// Check if registered apis are compatible
|
// Check if registered apis are compatible
|
||||||
for (String apiName : registeredApis.keySet())
|
for (String apiName : registeredApis.keySet())
|
||||||
if (registeredApis.get(apiName).isCompatible()) {
|
if (registeredApis.get(apiName).isCompatible()) {
|
||||||
logger.diag(apiName + " is compatible with the system");
|
logger.diag(apiName + " is compatible with this system");
|
||||||
compatibleApis.add(apiName);
|
compatibleApis.add(apiName);
|
||||||
} else
|
} else
|
||||||
logger.diag(apiName + " is incompatible with the system");
|
logger.diag(apiName + " is incompatible with this system");
|
||||||
|
|
||||||
logger.diag("Compatible are " + ListFormatter.formatList(compatibleApis));
|
logger.diag("Compatible is/are " + ListFormatter.formatList(compatibleApis));
|
||||||
|
|
||||||
// Choose last item in list.
|
// Choose last item in list.
|
||||||
if (!compatibleApis.isEmpty()) {
|
if (!compatibleApis.isEmpty()) {
|
||||||
logger.verb("Chose Graphics API " + compatibleApis.getLast());
|
|
||||||
|
|
||||||
api = registeredApis.get(compatibleApis.getLast());
|
api = registeredApis.get(compatibleApis.getLast());
|
||||||
try {
|
try {
|
||||||
logger.diag("Initializing Graphics API");
|
logger.diag("Initializing Graphics API");
|
||||||
|
|
Loading…
Reference in a new issue