wined3d: Get rid of client_memory from wineD3DSurface_DIB.
This commit is contained in:
parent
896aaa67ca
commit
d6b432b068
|
@ -4800,14 +4800,6 @@ void flip_surface(struct wined3d_surface *front, struct wined3d_surface *back)
|
||||||
back->pbo = tmp_pbo;
|
back->pbo = tmp_pbo;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* client_memory should not be different, but just in case */
|
|
||||||
{
|
|
||||||
BOOL tmp;
|
|
||||||
tmp = front->dib.client_memory;
|
|
||||||
front->dib.client_memory = back->dib.client_memory;
|
|
||||||
back->dib.client_memory = tmp;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Flip the opengl texture */
|
/* Flip the opengl texture */
|
||||||
{
|
{
|
||||||
GLuint tmp;
|
GLuint tmp;
|
||||||
|
|
|
@ -787,14 +787,6 @@ static HRESULT swapchain_gdi_present(struct wined3d_swapchain *swapchain, const
|
||||||
ERR("GDI Surface %p has heap memory allocated.\n", back);
|
ERR("GDI Surface %p has heap memory allocated.\n", back);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Client_memory should not be different, but just in case. */
|
|
||||||
{
|
|
||||||
BOOL tmp;
|
|
||||||
tmp = front->dib.client_memory;
|
|
||||||
front->dib.client_memory = back->dib.client_memory;
|
|
||||||
back->dib.client_memory = tmp;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* FPS support */
|
/* FPS support */
|
||||||
if (TRACE_ON(fps))
|
if (TRACE_ON(fps))
|
||||||
{
|
{
|
||||||
|
|
|
@ -1949,7 +1949,6 @@ typedef struct wineD3DSurface_DIB {
|
||||||
HBITMAP DIBsection;
|
HBITMAP DIBsection;
|
||||||
void* bitmap_data;
|
void* bitmap_data;
|
||||||
UINT bitmap_size;
|
UINT bitmap_size;
|
||||||
BOOL client_memory;
|
|
||||||
} wineD3DSurface_DIB;
|
} wineD3DSurface_DIB;
|
||||||
|
|
||||||
struct wined3d_renderbuffer_entry
|
struct wined3d_renderbuffer_entry
|
||||||
|
|
Loading…
Reference in New Issue