diff options
| author | Markus Wick <degasus@users.noreply.github.com> | 2015-11-25 07:53:58 +0100 |
|---|---|---|
| committer | Markus Wick <degasus@users.noreply.github.com> | 2015-11-25 07:53:58 +0100 |
| commit | 662e4fcca061e3fe67a5d529fee5cbceee741797 (patch) | |
| tree | 1413d32886af8194afd8a97ecf28715ab1d08666 /Source/Core/VideoCommon/VertexLoaderManager.cpp | |
| parent | f560e8e283281d6130b2592617f2fe6453cebf83 (diff) | |
| parent | 0b02dc4f814c4e842f460fd0814b8a7c5379b8c8 (diff) | |
Merge pull request #3276 from degasus/videocommon
Videocommon API cleanup
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderManager.cpp')
| -rw-r--r-- | Source/Core/VideoCommon/VertexLoaderManager.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderManager.cpp b/Source/Core/VideoCommon/VertexLoaderManager.cpp index 50f50cb78e..25c4c6adb0 100644 --- a/Source/Core/VideoCommon/VertexLoaderManager.cpp +++ b/Source/Core/VideoCommon/VertexLoaderManager.cpp @@ -152,8 +152,7 @@ static VertexLoaderBase* RefreshLoader(int vtx_attr_group, bool preprocess = fal std::unique_ptr<NativeVertexFormat>& native = s_native_vertex_map[format]; if (!native) { - native.reset(g_vertex_manager->CreateNativeVertexFormat()); - native->Initialize(format); + native.reset(g_vertex_manager->CreateNativeVertexFormat(format)); } loader->m_native_vertex_format = native.get(); } |
