summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/amd_gx_driver.c2
-rw-r--r--src/amd_lx_driver.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/amd_gx_driver.c b/src/amd_gx_driver.c
index 49678f3..4fcebae 100644
--- a/src/amd_gx_driver.c
+++ b/src/amd_gx_driver.c
@@ -474,7 +474,7 @@ GXPreInit(ScrnInfoPtr pScrni, int flags)
{
Gamma zeros = { 0.0, 0.0, 0.0 };
- if (!xf86SetGamma(pScrn, zeros)) {
+ if (!xf86SetGamma(pScrni, zeros)) {
return FALSE;
}
}
diff --git a/src/amd_lx_driver.c b/src/amd_lx_driver.c
index 34f220a..3aba428 100644
--- a/src/amd_lx_driver.c
+++ b/src/amd_lx_driver.c
@@ -558,7 +558,7 @@ LXPreInit(ScrnInfoPtr pScrni, int flags)
{
Gamma zeros = { 0.0, 0.0, 0.0 };
- if (!xf86SetGamma(pScrn, zeros)) {
+ if (!xf86SetGamma(pScrni, zeros)) {
return FALSE;
}
}