Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
054ec0b4
Commit
054ec0b4
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
d3d8: Remove the palette implementation methods.
parent
2e27be37
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
35 deletions
+10
-35
device.c
dlls/d3d8/device.c
+10
-35
No files found.
dlls/d3d8/device.c
View file @
054ec0b4
...
@@ -1838,61 +1838,36 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetInfo(IDirect3DDevice8 *iface,
...
@@ -1838,61 +1838,36 @@ static HRESULT WINAPI IDirect3DDevice8Impl_GetInfo(IDirect3DDevice8 *iface,
static
HRESULT
WINAPI
IDirect3DDevice8Impl_SetPaletteEntries
(
IDirect3DDevice8
*
iface
,
static
HRESULT
WINAPI
IDirect3DDevice8Impl_SetPaletteEntries
(
IDirect3DDevice8
*
iface
,
UINT
PaletteNumber
,
const
PALETTEENTRY
*
pEntries
)
UINT
PaletteNumber
,
const
PALETTEENTRY
*
pEntries
)
{
{
IDirect3DDevice8Impl
*
This
=
impl_from_IDirect3DDevice8
(
iface
);
FIXME
(
"iface %p, palette_idx %u, entries %p unimplemented
\n
"
,
iface
,
PaletteNumber
,
pEntries
);
HRESULT
hr
;
TRACE
(
"iface %p, palette_idx %u, entries %p.
\n
"
,
iface
,
PaletteNumber
,
pEntries
);
/* GPUs stopped supporting palettized textures with the Shader Model 1 generation. Wined3d
* does not have a d3d8/9-style palette API */
wined3d_mutex_lock
();
return
D3DERR_INVALIDCALL
;
hr
=
wined3d_device_set_palette_entries
(
This
->
wined3d_device
,
PaletteNumber
,
pEntries
);
wined3d_mutex_unlock
();
return
hr
;
}
}
static
HRESULT
WINAPI
IDirect3DDevice8Impl_GetPaletteEntries
(
IDirect3DDevice8
*
iface
,
static
HRESULT
WINAPI
IDirect3DDevice8Impl_GetPaletteEntries
(
IDirect3DDevice8
*
iface
,
UINT
PaletteNumber
,
PALETTEENTRY
*
pEntries
)
UINT
PaletteNumber
,
PALETTEENTRY
*
pEntries
)
{
{
IDirect3DDevice8Impl
*
This
=
impl_from_IDirect3DDevice8
(
iface
);
FIXME
(
"iface %p, palette_idx %u, entries %p unimplemented.
\n
"
,
iface
,
PaletteNumber
,
pEntries
);
HRESULT
hr
;
TRACE
(
"iface %p, palette_idx %u, entries %p.
\n
"
,
iface
,
PaletteNumber
,
pEntries
);
wined3d_mutex_lock
();
return
D3DERR_INVALIDCALL
;
hr
=
wined3d_device_get_palette_entries
(
This
->
wined3d_device
,
PaletteNumber
,
pEntries
);
wined3d_mutex_unlock
();
return
hr
;
}
}
static
HRESULT
WINAPI
IDirect3DDevice8Impl_SetCurrentTexturePalette
(
IDirect3DDevice8
*
iface
,
static
HRESULT
WINAPI
IDirect3DDevice8Impl_SetCurrentTexturePalette
(
IDirect3DDevice8
*
iface
,
UINT
PaletteNumber
)
UINT
PaletteNumber
)
{
{
IDirect3DDevice8Impl
*
This
=
impl_from_IDirect3DDevice8
(
iface
);
FIXME
(
"iface %p, palette_idx %u unimplemented.
\n
"
,
iface
,
PaletteNumber
);
HRESULT
hr
;
TRACE
(
"iface %p, palette_idx %u.
\n
"
,
iface
,
PaletteNumber
);
wined3d_mutex_lock
();
return
D3DERR_INVALIDCALL
;
hr
=
wined3d_device_set_current_texture_palette
(
This
->
wined3d_device
,
PaletteNumber
);
wined3d_mutex_unlock
();
return
hr
;
}
}
static
HRESULT
WINAPI
IDirect3DDevice8Impl_GetCurrentTexturePalette
(
IDirect3DDevice8
*
iface
,
static
HRESULT
WINAPI
IDirect3DDevice8Impl_GetCurrentTexturePalette
(
IDirect3DDevice8
*
iface
,
UINT
*
PaletteNumber
)
UINT
*
PaletteNumber
)
{
{
IDirect3DDevice8Impl
*
This
=
impl_from_IDirect3DDevice8
(
iface
);
FIXME
(
"iface %p, palette_idx %p unimplemented.
\n
"
,
iface
,
PaletteNumber
);
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
();
return
hr
;
return
D3DERR_INVALIDCALL
;
}
}
static
HRESULT
WINAPI
IDirect3DDevice8Impl_DrawPrimitive
(
IDirect3DDevice8
*
iface
,
static
HRESULT
WINAPI
IDirect3DDevice8Impl_DrawPrimitive
(
IDirect3DDevice8
*
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