1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
--- default/fbdev/ati/mach64/visual.c~ 2004-09-13 18:19:19.000000000 +0200
+++ default/fbdev/ati/mach64/visual.c 2005-07-19 10:39:28.000000000 +0200
@@ -281,7 +281,7 @@
}*/
free(priv);
- ATI_MACH64_PRIV(vis) = NULL;
+ LIBGGI_PRIVATE(vis) = NULL;
ggUnregisterCleanup((ggcleanup_func *)do_cleanup, vis);
@@ -313,7 +313,7 @@
if (priv == NULL) {
return GGI_ENOMEM;
}
- ATI_MACH64_PRIV(vis) = priv;
+ LIBGGI_PRIVATE(vis) = priv;
fbdevpriv->mmioaddr = mmap(NULL, fbdevpriv->orig_fix.mmio_len,
--- default/fbdev/mga/g400/visual.c~ 2004-09-13 18:20:44.000000000 +0200
+++ default/fbdev/mga/g400/visual.c 2005-07-19 10:38:28.000000000 +0200
@@ -117,7 +117,7 @@
}
free(priv);
- MGA_G400_PRIV(vis) = NULL;
+ LIBGGI_PRIVATE(vis) = NULL;
ggUnregisterCleanup((ggcleanup_func *)do_cleanup, vis);
@@ -259,7 +259,7 @@
/* vis->opdraw->crossblit = GGI_mga_g400_crossblit; */
}
- MGA_G400_PRIV(vis) = priv;
+ LIBGGI_PRIVATE(vis) = priv;
/* Register cleanup handler */
ggRegisterCleanup((ggcleanup_func *)do_cleanup, vis);
--- default/fbdev/mga/2164w/visual.c~ 2004-09-13 18:19:59.000000000 +0200
+++ default/fbdev/mga/2164w/visual.c 2005-07-19 10:37:13.000000000 +0200
@@ -111,7 +111,7 @@
}
free(priv);
- M2164W_PRIV(vis) = NULL;
+ LIBGGI_PRIVATE(vis) = NULL;
ggUnregisterCleanup((ggcleanup_func *)do_cleanup, vis);
@@ -253,7 +253,7 @@
vis->opdraw->crossblit = GGI_m2164w_crossblit;
}
- M2164W_PRIV(vis) = priv;
+ LIBGGI_PRIVATE(vis) = priv;
/* Register cleanup handler */
ggRegisterCleanup((ggcleanup_func *)do_cleanup, vis);
--- display/vcsa/visual.c~ 2004-11-14 01:41:44.000000000 +0100
+++ display/vcsa/visual.c 2005-07-19 10:34:02.000000000 +0200
@@ -124,7 +124,7 @@
}
}
- priv = VCSA_PRIV(vis) = malloc(sizeof(ggi_vcsa_priv));
+ priv = LIBGGI_PRIVATE(vis) = malloc(sizeof(ggi_vcsa_priv));
if (priv == NULL) return GGI_ENOMEM;
LIBGGI_GC(vis) = malloc(sizeof(ggi_gc));
|