Changeset 89609 in vbox for trunk/src/VBox/Additions/x11/VBoxClient
- Timestamp:
- Jun 10, 2021 4:15:40 PM (4 years ago)
- svn:sync-xref-src-repo-rev:
- 145053
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/x11/VBoxClient/display-svga-x11.cpp
r89603 r89609 153 153 XRROutputInfo* (*pXRRGetOutputInfo) (Display *, XRRScreenResources *, RROutput); 154 154 XRRCrtcInfo* (*pXRRGetCrtcInfo) (Display *, XRRScreenResources *, RRCrtc crtc); 155 void (*pXRRFreeCrtcInfo)(XRRCrtcInfo *); 155 156 void (*pXRRAddOutputMode)(Display *, RROutput, RRMode); 156 157 }; … … 838 839 *(void **)(&x11Context.pXRRGetCrtcInfo) = dlsym(x11Context.pRandLibraryHandle, "XRRGetCrtcInfo"); 839 840 checkFunctionPtrReturn(x11Context.pXRRGetCrtcInfo); 841 842 *(void **)(&x11Context.pXRRFreeCrtcInfo) = dlsym(x11Context.pRandLibraryHandle, "XRRFreeCrtcInfo"); 843 checkFunctionPtrReturn(x11Context.pXRRFreeCrtcInfo); 840 844 841 845 *(void **)(&x11Context.pXRRAddOutputMode) = dlsym(x11Context.pRandLibraryHandle, "XRRAddOutputMode"); … … 999 1003 CurrentTime, 0, 0, None, RR_Rotate_0, NULL, 0); 1000 1004 #endif 1005 1006 #ifdef WITH_DISTRO_XRAND_XINERAMA 1007 XRRFreeCrtcInfo(pCrctInfo); 1008 #else 1009 if (x11Context.pXRRFreeCrtcInfo) 1010 x11Context.pXRRFreeCrtcInfo(pCrctInfo); 1011 #endif 1012 1001 1013 /** @todo In case of unsuccesful crtc config set we have to revert frame buffer size and crtc sizes. */ 1002 1014 if (ret == Success)
Note:
See TracChangeset
for help on using the changeset viewer.