wfreerdp-server: removed manuallly setting sse2, winpr-pool: fixed build on win8
This commit is contained in:
parent
ef16cee209
commit
6882ed2f14
@ -203,7 +203,7 @@ void wf_update_encoder_reset(wfInfo* wfi)
|
||||
wfi->rfx_context->width = wfi->servscreen_width;
|
||||
wfi->rfx_context->height = wfi->servscreen_height;
|
||||
rfx_context_set_pixel_format(wfi->rfx_context, RDP_PIXEL_FORMAT_B8G8R8A8);
|
||||
rfx_context_set_cpu_opt(wfi->rfx_context, CPU_SSE2);
|
||||
//rfx_context_set_cpu_opt(wfi->rfx_context, CPU_SSE2);
|
||||
wfi->s = stream_new(0xFFFF);
|
||||
}
|
||||
|
||||
|
@ -81,6 +81,7 @@ typedef struct _TP_CALLBACK_ENVIRON_V1
|
||||
|
||||
/* Non-Windows and pre Windows 7 */
|
||||
#if ((!defined(_WIN32)) || (defined(_WIN32) && (_WIN32_WINNT < 0x0601)))
|
||||
//#if !defined(_WIN32_WINNT_VISTA)
|
||||
|
||||
typedef struct _TP_CALLBACK_ENVIRON_V3
|
||||
{
|
||||
@ -132,7 +133,8 @@ typedef VOID (*PTP_WAIT_CALLBACK)(PTP_CALLBACK_INSTANCE Instance, PVOID Context,
|
||||
|
||||
|
||||
/* Non-Windows and pre Vista */
|
||||
#if ((!defined(_WIN32)) || (defined(_WIN32) && (_WIN32_WINNT < 0x0600)))
|
||||
//#if ((!defined(_WIN32)) || (defined(_WIN32) && (_WIN32_WINNT < 0x0600)))
|
||||
#if !defined(_WIN32_WINNT_VISTA)
|
||||
|
||||
typedef VOID (*PTP_WIN32_IO_CALLBACK)(PTP_CALLBACK_INSTANCE Instance, PVOID Context, PVOID Overlapped,
|
||||
ULONG IoResult, ULONG_PTR NumberOfBytesTransferred, PTP_IO Io);
|
||||
|
Loading…
Reference in New Issue
Block a user