summaryrefslogtreecommitdiff
path: root/src/radeon_display.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/radeon_display.c')
-rw-r--r--src/radeon_display.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/radeon_display.c b/src/radeon_display.c
index 813f2775..7f19f79b 100644
--- a/src/radeon_display.c
+++ b/src/radeon_display.c
@@ -2409,8 +2409,9 @@ radeon_detect(xf86OutputPtr output)
static DisplayModePtr
radeon_get_modes(xf86OutputPtr output)
{
- RADEONProbeOutputModes(output);
- return output->probed_modes;
+ DisplayModePtr modes;
+ modes = RADEONProbeOutputModes(output);
+ return modes;
}
static void