Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
4365d290
Commit
4365d290
authored
Sep 27, 2011
by
Stefan Dösinger
Committed by
Alexandre Julliard
Oct 11, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
d3d9: Remove the palette implementation methods.
parent
054ec0b4
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
36 deletions
+8
-36
device.c
dlls/d3d9/device.c
+8
-36
No files found.
dlls/d3d9/device.c
View file @
4365d290
...
...
@@ -1790,61 +1790,33 @@ static HRESULT WINAPI IDirect3DDevice9Impl_ValidateDevice(IDirect3DDevice9Ex *if
static
HRESULT
WINAPI
IDirect3DDevice9Impl_SetPaletteEntries
(
IDirect3DDevice9Ex
*
iface
,
UINT
PaletteNumber
,
const
PALETTEENTRY
*
pEntries
)
{
IDirect3DDevice9Impl
*
This
=
impl_from_IDirect3DDevice9Ex
(
iface
);
HRESULT
hr
;
TRACE
(
"iface %p, palette_idx %u, entries %p.
\n
"
,
iface
,
PaletteNumber
,
pEntries
);
wined3d_mutex_lock
();
hr
=
wined3d_device_set_palette_entries
(
This
->
wined3d_device
,
PaletteNumber
,
pEntries
);
wined3d_mutex_unlock
();
FIXME
(
"iface %p, palette_idx %u, entries %p unimplemented.
\n
"
,
iface
,
PaletteNumber
,
pEntries
);
return
hr
;
return
D3DERR_INVALIDCALL
;
}
static
HRESULT
WINAPI
IDirect3DDevice9Impl_GetPaletteEntries
(
IDirect3DDevice9Ex
*
iface
,
UINT
PaletteNumber
,
PALETTEENTRY
*
pEntries
)
{
IDirect3DDevice9Impl
*
This
=
impl_from_IDirect3DDevice9Ex
(
iface
);
HRESULT
hr
;
TRACE
(
"iface %p, palette_idx %u, entries %p.
\n
"
,
iface
,
PaletteNumber
,
pEntries
);
wined3d_mutex_lock
();
hr
=
wined3d_device_get_palette_entries
(
This
->
wined3d_device
,
PaletteNumber
,
pEntries
);
wined3d_mutex_unlock
();
FIXME
(
"iface %p, palette_idx %u, entries %p unimplemented.
\n
"
,
iface
,
PaletteNumber
,
pEntries
);
return
hr
;
return
D3DERR_INVALIDCALL
;
}
static
HRESULT
WINAPI
IDirect3DDevice9Impl_SetCurrentTexturePalette
(
IDirect3DDevice9Ex
*
iface
,
UINT
PaletteNumber
)
{
IDirect3DDevice9Impl
*
This
=
impl_from_IDirect3DDevice9Ex
(
iface
);
HRESULT
hr
;
TRACE
(
"iface %p, palette_idx %u.
\n
"
,
iface
,
PaletteNumber
);
wined3d_mutex_lock
();
hr
=
wined3d_device_set_current_texture_palette
(
This
->
wined3d_device
,
PaletteNumber
);
wined3d_mutex_unlock
();
FIXME
(
"iface %p, palette_idx %u unimplemented.
\n
"
,
iface
,
PaletteNumber
);
return
hr
;
return
D3DERR_INVALIDCALL
;
}
static
HRESULT
WINAPI
IDirect3DDevice9Impl_GetCurrentTexturePalette
(
IDirect3DDevice9Ex
*
iface
,
UINT
*
PaletteNumber
)
{
IDirect3DDevice9Impl
*
This
=
impl_from_IDirect3DDevice9Ex
(
iface
);
HRESULT
hr
;
TRACE
(
"iface %p, palette_idx %p.
\n
"
,
iface
,
PaletteNumber
);
wined3d_mutex_lock
();
hr
=
wined3d_device_get_current_texture_palette
(
This
->
wined3d_device
,
PaletteNumber
);
wined3d_mutex_unlock
();
FIXME
(
"iface %p, palette_idx %p.
\n
"
,
iface
,
PaletteNumber
);
return
hr
;
return
D3DERR_INVALIDCALL
;
}
static
HRESULT
WINAPI
IDirect3DDevice9Impl_SetScissorRect
(
IDirect3DDevice9Ex
*
iface
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment