Skip to content

Commit

Permalink
[d3d8] Minor style nits
Browse files Browse the repository at this point in the history
  • Loading branch information
AlpyneDreams committed Jul 7, 2024
1 parent 90be101 commit 1f98e8a
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 9 deletions.
6 changes: 2 additions & 4 deletions src/d3d8/d3d8_d3d9_util.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
#pragma once

/**
* Utility functions for converting
* between DirectX8 and DirectX9 types.
*/
// Utility functions for converting
// between DirectX8 and DirectX9 types.

#include "d3d8_include.h"
#include "d3d8_format.h"
Expand Down
4 changes: 3 additions & 1 deletion src/d3d8/d3d8_device.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,9 @@ namespace dxvk {
GetD3D9()->SetCursorPosition(X, Y, Flags);
}

BOOL STDMETHODCALLTYPE D3D8Device::ShowCursor(BOOL bShow) { return GetD3D9()->ShowCursor(bShow); }
BOOL STDMETHODCALLTYPE D3D8Device::ShowCursor(BOOL bShow) {
return GetD3D9()->ShowCursor(bShow);
}

HRESULT STDMETHODCALLTYPE D3D8Device::CreateAdditionalSwapChain(
D3DPRESENT_PARAMETERS* pPresentationParameters,
Expand Down
7 changes: 3 additions & 4 deletions src/d3d8/d3d8_device_child.h
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
#pragma once

/** Common methods for device-tied objects.
* - AddRef, Release from IUnknown
* - GetDevice from various classes including IDirect3DResource8
*/
// Common methods for device-tied objects.
// - AddRef, Release from IUnknown
// - GetDevice from various classes including IDirect3DResource8

#include "d3d8_include.h"
#include "d3d8_wrapped_object.h"
Expand Down

0 comments on commit 1f98e8a

Please sign in to comment.