Merge branch 'master' of github.com:awakecoding/FreeRDP
This commit is contained in:
commit
c2e7b51b01
@ -92,6 +92,7 @@ static const size_t password_size = 512;
|
||||
|
||||
void xf_draw_screen_scaled(xfInfo* xfi)
|
||||
{
|
||||
#ifdef WITH_XRENDER
|
||||
XTransform transform;
|
||||
Picture windowPicture;
|
||||
Picture primaryPicture;
|
||||
@ -117,6 +118,7 @@ void xf_draw_screen_scaled(xfInfo* xfi)
|
||||
|
||||
XRenderSetPictureTransform(xfi->display, primaryPicture, &transform);
|
||||
XRenderComposite(xfi->display, PictOpSrc, primaryPicture, 0, windowPicture, 0, 0, 0, 0, 0, 0, xfi->currentWidth, xfi->currentHeight);
|
||||
#endif
|
||||
}
|
||||
|
||||
void xf_context_new(freerdp* instance, rdpContext* context)
|
||||
|
@ -36,9 +36,9 @@ include(FindPackageHandleStandardArgs)
|
||||
FIND_PACKAGE_HANDLE_STANDARD_ARGS(Xrender DEFAULT_MSG Xrender_LIBRARY Xrender_INCLUDE_DIR)
|
||||
|
||||
if(Xrender_FOUND)
|
||||
set(XRENDER_LIBRARIES ${Xrender_LIBRARY})
|
||||
set(XRENDER_INCLUDE_DIRS ${Xrender_INCLUDE_DIR})
|
||||
set(XRENDER_LIBRARIES ${Xrender_LIBRARY})
|
||||
set(XRENDER_INCLUDE_DIRS ${Xrender_INCLUDE_DIR})
|
||||
endif()
|
||||
|
||||
mark_as_advanced(Xrender_INCLUDE_DIR Xrender_LIBRARY)
|
||||
mark_as_advanced(XRENDER_INCLUDE_DIRS XRENDER_LIBRARIES)
|
||||
|
||||
|
@ -52,7 +52,7 @@ if(MONOLITHIC_BUILD)
|
||||
set(${MODULE_PREFIX}_OBJECTS ${${MODULE_PREFIX}_OBJECTS} "$<TARGET_OBJECTS:${MODULE_NAME}-${${MODULE_PREFIX}_SUBMODULE}>")
|
||||
endforeach()
|
||||
|
||||
add_library(${MODULE_NAME} ${${MODULE_PREFIX}_OBJECTS})
|
||||
add_library(${MODULE_NAME} dummy.c ${${MODULE_PREFIX}_OBJECTS})
|
||||
|
||||
set_target_properties(${MODULE_NAME} PROPERTIES LINKER_LANGUAGE C)
|
||||
set_target_properties(${MODULE_NAME} PROPERTIES VERSION ${FREERDP_VERSION} SOVERSION ${FREERDP_API_VERSION} PREFIX "lib")
|
||||
|
5
libfreerdp/dummy.c
Normal file
5
libfreerdp/dummy.c
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
int dummy()
|
||||
{
|
||||
return 0;
|
||||
}
|
@ -48,7 +48,7 @@ if(MONOLITHIC_BUILD)
|
||||
set(${MODULE_PREFIX}_OBJECTS ${${MODULE_PREFIX}_OBJECTS} "$<TARGET_OBJECTS:${MODULE_NAME}-${${MODULE_PREFIX}_SUBMODULE}>")
|
||||
endforeach()
|
||||
|
||||
add_library(${MODULE_NAME} ${${MODULE_PREFIX}_OBJECTS})
|
||||
add_library(${MODULE_NAME} dummy.c ${${MODULE_PREFIX}_OBJECTS})
|
||||
|
||||
set_target_properties(${MODULE_NAME} PROPERTIES LINKER_LANGUAGE C)
|
||||
set_target_properties(${MODULE_NAME} PROPERTIES VERSION ${WINPR_VERSION_FULL} SOVERSION ${WINPR_VERSION} PREFIX "lib")
|
||||
|
5
winpr/libwinpr/dummy.c
Normal file
5
winpr/libwinpr/dummy.c
Normal file
@ -0,0 +1,5 @@
|
||||
|
||||
int dummy()
|
||||
{
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue
Block a user