mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-03 07:10:15 +01:00
st/nine: Remove one useless function output
Signed-off-by: Axel Davy <axel.davy@ens.fr>
This commit is contained in:
parent
10e548c0c9
commit
23e2a235dc
2 changed files with 4 additions and 4 deletions
|
|
@ -385,7 +385,7 @@ NineVolume9_UnlockBox( struct NineVolume9 *This )
|
|||
|
||||
/* When this function is called, we have already checked
|
||||
* The copy regions fit the volumes */
|
||||
HRESULT
|
||||
void
|
||||
NineVolume9_CopyMemToDefault( struct NineVolume9 *This,
|
||||
struct NineVolume9 *From,
|
||||
unsigned dstx, unsigned dsty, unsigned dstz,
|
||||
|
|
@ -429,7 +429,7 @@ NineVolume9_CopyMemToDefault( struct NineVolume9 *This,
|
|||
PIPE_TRANSFER_WRITE | PIPE_TRANSFER_DISCARD_RANGE,
|
||||
&dst_box, &transfer);
|
||||
if (!map)
|
||||
return D3D_OK;
|
||||
return;
|
||||
|
||||
/* Note: if formats are the sames, it will revert
|
||||
* to normal memcpy */
|
||||
|
|
@ -465,7 +465,7 @@ NineVolume9_CopyMemToDefault( struct NineVolume9 *This,
|
|||
|
||||
NineVolume9_MarkContainerDirty(This);
|
||||
|
||||
return D3D_OK;
|
||||
return;
|
||||
}
|
||||
|
||||
HRESULT
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ void
|
|||
NineVolume9_AddDirtyRegion( struct NineVolume9 *This,
|
||||
const struct pipe_box *box );
|
||||
|
||||
HRESULT
|
||||
void
|
||||
NineVolume9_CopyMemToDefault( struct NineVolume9 *This,
|
||||
struct NineVolume9 *From,
|
||||
unsigned dstx, unsigned dsty, unsigned dstz,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue