diff options
Diffstat (limited to 'xorg/X11R7.6/rdp/rdpmain.c')
| -rw-r--r-- | xorg/X11R7.6/rdp/rdpmain.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/xorg/X11R7.6/rdp/rdpmain.c b/xorg/X11R7.6/rdp/rdpmain.c index 95de7be0..7540e12e 100644 --- a/xorg/X11R7.6/rdp/rdpmain.c +++ b/xorg/X11R7.6/rdp/rdpmain.c @@ -41,7 +41,7 @@ Sets up the functions #endif #if XRDP_DISABLE_LINUX_ABSTRACT -/* because including <X11/Xtrans/Xtransint.h> in problematic +/* because including <X11/Xtrans/Xtransint.h> is problematic * we dup a small struct * we need to set flags to zero to turn off abstract sockets */ struct _MyXtransport @@ -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; |
