diff options
author | Ryan Holtz <rholtz@batcountryentertainment.com> | 2013-05-19 20:37:15 +0000 |
---|---|---|
committer | Ryan Holtz <rholtz@batcountryentertainment.com> | 2013-05-19 20:37:15 +0000 |
commit | 169ac5250ee10f7ce3e056678931065bed74239b (patch) | |
tree | ec5ad920bc535de083cc72ae43cb87683078bf06 | |
parent | e288e8772bbc2e1fdb6c1f8e0f4ffd536b5107fb (diff) |
potential crash fix, nw
-rw-r--r-- | src/osd/windows/drawd3d.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/osd/windows/drawd3d.c b/src/osd/windows/drawd3d.c index 925c0661a22..13c4991e8c3 100644 --- a/src/osd/windows/drawd3d.c +++ b/src/osd/windows/drawd3d.c @@ -747,6 +747,12 @@ renderer::renderer(win_window_info *window) m_shaders = NULL; m_numverts = 0; m_numpolys = 0; + m_vertexbuf = NULL; + m_lockedbuf = NULL; + m_vectorbatch = NULL; + m_last_texture = NULL; + m_hlsl_buf = NULL; + m_texture_manager = NULL; } int renderer::initialize() |