forked from storm-devs/storm-engine
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[linux] add D3DXLoadSurfaceFromSurface implementation from WINE
- Loading branch information
Showing
5 changed files
with
1,014 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#pragma once | ||
#ifndef _WIN32 | ||
|
||
#include <d3d9.h> | ||
#include <algorithm> | ||
|
||
#define D3DX_DEFAULT ((UINT)-1) | ||
|
||
// Textures Methods | ||
|
||
HRESULT D3DXLoadSurfaceFromMemory(IDirect3DSurface9 *dst_surface, | ||
const PALETTEENTRY *dst_palette, const RECT *dst_rect, const void *src_memory, | ||
D3DFORMAT src_format, UINT src_pitch, const PALETTEENTRY *src_palette, const RECT *src_rect, | ||
DWORD filter, D3DCOLOR color_key); | ||
|
||
HRESULT D3DXLoadSurfaceFromSurface(IDirect3DSurface9 *dst_surface, | ||
const PALETTEENTRY *dst_palette, const RECT *dst_rect, IDirect3DSurface9 *src_surface, | ||
const PALETTEENTRY *src_palette, const RECT *src_rect, DWORD filter, D3DCOLOR color_key); | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.