I just translated everything I could find in the file without checking
where it's being used - but it did sound a bit that would be used somewhere.
Vincent Beers
Paul Vriens wrote:
Vincent Beers wrote:
GMail decided to throw away my patch for some reason. Reattached.
Original Messag
Juan Lang writes:
> +BOOL netconn_connect( netconn_t *conn, const struct sockaddr *sockaddr,
> unsigned int addr_len, int timeout )
> {
> -if (connect( conn->socket, sockaddr, addr_len ) == -1)
> +int flags = -1, res;
> +
> +if (timeout > 0)
> +flags = fcntl( conn->socket, F
Henri Verbeet writes:
> +BOOL context_init_current(void)
> +{
> +return TlsSetValue(wined3d_context_tls_idx, NULL);
> +}
Note that this is not necessary, TLS slots are initialized to 0.
--
Alexandre Julliard
julli...@winehq.org
Vincent Beers wrote:
GMail decided to throw away my patch for some reason. Reattached.
Original Message
Vincent Beers wrote:
This is my first patch, ever, so please bear with me and tell me if I
made any mistakes in generating and submitting the patch. :)
This is a simple p
Henri Verbeet writes:
> ---
> dlls/wined3d/context.c | 81 +--
> dlls/wined3d/wined3d_main.c| 40
> dlls/wined3d/wined3d_private.h |5 ++
> 3 files changed, 105 insertions(+), 21 deletions(-)
It doesn't work here:
../
2009/7/22 Paul Vriens :
> Changelog
> Fix a test failure on some W2K/XP systems
>
> --
> Cheers,
>
> Paul.
>
> From f9708be5421888568cacfd5144aec0ea0a7877ce Mon Sep 17 00:00:00 2001
> From: Paul Vriens
> Date: Wed, 22 Jul 2009 11:30:01 +0200
> Subject: [PATCH] Fix a test failure on some W2K/XP sy
Dmitry Timoshkov writes:
> @@ -847,7 +847,8 @@ static void PB_Paint( HWND hwnd, HDC hDC, UINT action )
> if (state & (BUTTON_CHECKED | BUTTON_3STATE))
> uState |= DFCS_CHECKED;
>
> -DrawFrameControl( hDC, &rc, DFC_BUTTON, uState );
> +if (action == ODA_DRAWENTIRE)
> +
Is 0 really special here, or should invalid handles in general just
return D3D_OK? I imagine this affects
IDirect3DDevice8Impl_CaptureStateBlock() as well.