summaryrefslogtreecommitdiff
path: root/kms++
diff options
context:
space:
mode:
Diffstat (limited to 'kms++')
-rw-r--r--kms++/card.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/kms++/card.cpp b/kms++/card.cpp
index 504aa61..918c825 100644
--- a/kms++/card.cpp
+++ b/kms++/card.cpp
@@ -34,7 +34,7 @@ Card::Card(const std::string& device)
r = drmSetMaster(fd);
m_master = r == 0;
- if (getenv("LIBKMSXX_DISABLE_UNIVERSAL_PLANES") == 0) {
+ if (getenv("KMSXX_DISABLE_UNIVERSAL_PLANES") == 0) {
r = drmSetClientCap(m_fd, DRM_CLIENT_CAP_UNIVERSAL_PLANES, 1);
m_has_universal_planes = r == 0;
} else {
@@ -42,7 +42,7 @@ Card::Card(const std::string& device)
}
#ifdef DRM_CLIENT_CAP_ATOMIC
- if (getenv("LIBKMSXX_DISABLE_ATOMIC") == 0) {
+ if (getenv("KMSXX_DISABLE_ATOMIC") == 0) {
r = drmSetClientCap(m_fd, DRM_CLIENT_CAP_ATOMIC, 1);
m_has_atomic = r == 0;
} else {