summaryrefslogtreecommitdiffstats
path: root/xorg/X11R7.6/rdp/rdpmain.c
diff options
context:
space:
mode:
authorJay Sorg <jay.sorg@gmail.com>2016-04-21 11:11:28 -0700
committerJay Sorg <jay.sorg@gmail.com>2016-04-21 11:11:28 -0700
commitb3273a3bfcc343a2db72ad23eae128bd5609b494 (patch)
tree7347ff74bc2864fe412af60be4f4fa24c7ccd69a /xorg/X11R7.6/rdp/rdpmain.c
parent5e398e0c91d174f00fbd0327de144f751a232707 (diff)
downloadxrdp-proprietary-b3273a3bfcc343a2db72ad23eae128bd5609b494.tar.gz
xrdp-proprietary-b3273a3bfcc343a2db72ad23eae128bd5609b494.zip
X11rdp: Mesa link fix
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpmain.c')
-rw-r--r--xorg/X11R7.6/rdp/rdpmain.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/xorg/X11R7.6/rdp/rdpmain.c b/xorg/X11R7.6/rdp/rdpmain.c
index 95de7be0..c08b15cd 100644
--- a/xorg/X11R7.6/rdp/rdpmain.c
+++ b/xorg/X11R7.6/rdp/rdpmain.c
@@ -139,6 +139,8 @@ static miPointerScreenFuncRec g_rdpPointerCursorFuncs =
rdpPointerNewEventScreen
};
+int glGetBufferSubData(void);
+
/******************************************************************************/
/* returns error, zero is good */
static int
@@ -189,6 +191,11 @@ set_bpp(int bpp)
g_greenBits = 8;
g_blueBits = 8;
}
+ else if (g_bpp == 33)
+ {
+ /* will never happen */
+ glGetBufferSubData();
+ }
else
{
rv = 1;