summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin-Éric Racine <q-funk@iki.fi>2008-02-10 01:55:06 +0200
committerMartin-Éric Racine <q-funk@iki.fi>2008-02-10 01:55:06 +0200
commit2a7240e845ba27a9d2f485fda0bb5f8175234454 (patch)
tree472fb61f171e128eb3e5a4167889fadc1d04861b
parentae448a3beafe001c2bbc60f9fa09ebcfb00e828f (diff)
Erm... That would be pScrni, of course.
-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;
}
}