add bilinear palette shader for d3d9
This commit is contained in:
parent
7a9da06032
commit
2bc409d8fd
3 changed files with 278 additions and 12 deletions
|
@ -19,9 +19,12 @@ typedef struct D3D9RENDERER
|
|||
IDirect3DTexture9* surface_tex[D3D9_TEXTURE_COUNT];
|
||||
IDirect3DTexture9* palette_tex[D3D9_TEXTURE_COUNT];
|
||||
IDirect3DPixelShader9* pixel_shader;
|
||||
IDirect3DPixelShader9* pixel_shader_bilinear;
|
||||
float scale_w;
|
||||
float scale_h;
|
||||
int bits_per_pixel;
|
||||
int tex_width;
|
||||
int tex_height;
|
||||
} D3D9RENDERER;
|
||||
|
||||
BOOL d3d9_is_available();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue