diff options
author | root <root@rshg054.dnsready.net> | 2013-07-02 01:15:53 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-02 01:15:53 -0700 |
commit | 8917cf5e44af1562114fe0d243dcea7d187c8047 (patch) | |
tree | 198832346eded2df558ccf0fd078a52e8b6e904a /extra/xorg-server/xephyr-glx.patch | |
parent | 545cc688f36387d9b1f29e04089a2d91a3786165 (diff) |
Tue Jul 2 01:15:53 PDT 2013
Diffstat (limited to 'extra/xorg-server/xephyr-glx.patch')
-rw-r--r-- | extra/xorg-server/xephyr-glx.patch | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/extra/xorg-server/xephyr-glx.patch b/extra/xorg-server/xephyr-glx.patch new file mode 100644 index 000000000..3011e2497 --- /dev/null +++ b/extra/xorg-server/xephyr-glx.patch @@ -0,0 +1,39 @@ +--- hw/kdrive/ephyr/ephyrinit.c 2013-03-14 19:07:41.904335711 +0100 ++++ hw/kdrive/ephyr/ephyrinit.c.new 2013-03-14 19:07:33.024335444 +0100 +@@ -28,6 +28,7 @@ + #endif + #include "ephyr.h" + #include "ephyrlog.h" ++#include "glx_extinit.h" + + extern Window EphyrPreExistingHostWin; + extern Bool EphyrWantGrayScale; +@@ -53,9 +54,28 @@ + KdCardInfoAdd(&ephyrFuncs, 0); + } + ++static const ExtensionModule ephyrExtensions[] = { ++#ifdef GLXEXT ++ { GlxExtensionInit, "GLX", &noGlxExtension }, ++#endif ++}; ++ ++static ++void ephyrExtensionInit(void) ++{ ++ int i; ++ ++ for (i = 0; i < ARRAY_SIZE(ephyrExtensions); i++) ++ LoadExtension(&ephyrExtensions[i], TRUE); ++} ++ ++ + void + InitOutput(ScreenInfo * pScreenInfo, int argc, char **argv) + { ++ if (serverGeneration == 1) ++ ephyrExtensionInit(); ++ + KdInitOutput(pScreenInfo, argc, argv); + } + |