Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[xsrc/trunk]: xsrc/external/mit/xf86-video-ati/dist/src sprinkle xf86SetModeD...
details: https://anonhg.NetBSD.org/xsrc/rev/77561f662c59
branches: trunk
changeset: 7125:77561f662c59
user: macallan <macallan%NetBSD.org@localhost>
date: Mon Aug 01 06:56:42 2022 +0000
description:
sprinkle xf86SetModeDefaultName() since apparently xf86CVTMode() no longer
sets a mode's .name
now this works again on macppc
diffstat:
external/mit/xf86-video-ati/dist/src/radeon_modes.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (43 lines):
diff -r 117163f7837b -r 77561f662c59 external/mit/xf86-video-ati/dist/src/radeon_modes.c
--- a/external/mit/xf86-video-ati/dist/src/radeon_modes.c Sat Jul 30 17:03:50 2022 +0000
+++ b/external/mit/xf86-video-ati/dist/src/radeon_modes.c Mon Aug 01 06:56:42 2022 +0000
@@ -91,6 +91,7 @@
/* just a place holder */
new = xf86CVTMode(800, 600, 60.00, FALSE, FALSE);
+ xf86SetModeDefaultName(new);
new->type = M_T_DRIVER | M_T_PREFERRED;
return new;
@@ -109,6 +110,7 @@
for (i = 0; i < 5; i++) {
new = xf86CVTMode(widths[i], heights[i], 60.0, FALSE, FALSE);
+ xf86SetModeDefaultName(new);
new->type = M_T_DRIVER;
@@ -180,6 +182,7 @@
if (new) {
new->type = M_T_DRIVER | M_T_PREFERRED;
+ xf86SetModeDefaultName(new);
new->next = NULL;
new->prev = NULL;
@@ -295,6 +298,7 @@
}
new = xf86CVTMode(width, height, 60.0, FALSE, FALSE);
+ xf86SetModeDefaultName(new);
new->type |= M_T_USERDEF;
@@ -463,6 +467,7 @@
}
new = xf86CVTMode(widths[i], heights[i], 60.0, FALSE, FALSE);
+ xf86SetModeDefaultName(new);
new->type = M_T_DRIVER;
Home |
Main Index |
Thread Index |
Old Index