Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Clark Lin
hw3d
Commits
df1dfc1f
Commit
df1dfc1f
authored
Mar 08, 2019
by
chili
Browse files
imgui dx11 impl shutdown
parent
18dd6edb
Changes
2
Hide whitespace changes
Inline
Side-by-side
hw3d/Graphics.cpp
View file @
df1dfc1f
...
...
@@ -114,6 +114,11 @@ Graphics::Graphics( HWND hWnd )
ImGui_ImplDX11_Init
(
pDevice
.
Get
(),
pContext
.
Get
()
);
}
Graphics
::~
Graphics
()
{
ImGui_ImplDX11_Shutdown
();
}
void
Graphics
::
EndFrame
()
{
// imgui frame end
...
...
hw3d/Graphics.h
View file @
df1dfc1f
...
...
@@ -54,7 +54,7 @@ public:
Graphics
(
HWND
hWnd
);
Graphics
(
const
Graphics
&
)
=
delete
;
Graphics
&
operator
=
(
const
Graphics
&
)
=
delete
;
~
Graphics
()
=
default
;
~
Graphics
();
void
EndFrame
();
void
BeginFrame
(
float
red
,
float
green
,
float
blue
)
noexcept
;
void
DrawIndexed
(
UINT
count
)
noexcept
(
!
IS_DEBUG
);
...
...
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