summaryrefslogtreecommitdiffstatshomepage
path: root/src/osd/modules/render/d3d/d3dhlsl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/osd/modules/render/d3d/d3dhlsl.cpp')
-rw-r--r--src/osd/modules/render/d3d/d3dhlsl.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/osd/modules/render/d3d/d3dhlsl.cpp b/src/osd/modules/render/d3d/d3dhlsl.cpp
index 8daea6c0c33..241f4b2a7f6 100644
--- a/src/osd/modules/render/d3d/d3dhlsl.cpp
+++ b/src/osd/modules/render/d3d/d3dhlsl.cpp
@@ -48,12 +48,12 @@ public:
{
HRESULT result;
- m_avi_writer = std::make_unique<avi_write>(machine, width, height);
+ m_avi_writer = std::make_unique<avi_write>(machine, width, height);
m_frame.allocate(width, height);
if (!m_frame.valid())
return;
-
+
result = d3d->get_device()->CreateTexture(width, height, 1, D3DUSAGE_DYNAMIC, D3DFMT_A8R8G8B8, D3DPOOL_SYSTEMMEM, &m_sys_texture, nullptr);
if (FAILED(result))
{
@@ -69,7 +69,7 @@ public:
return;
}
m_vid_texture->GetSurfaceLevel(0, &m_vid_surface);
-
+
m_initialized = true;
}