summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/VertexLoaderX64.cpp
diff options
context:
space:
mode:
authorPokechu22 <Pokechu022@gmail.com>2021-03-11 11:23:13 -0800
committerPokechu22 <Pokechu022@gmail.com>2021-05-07 15:42:17 -0700
commitfa7077763f91980e372d502b4357f3dda971ffbe (patch)
treefa543683445144ea350b2339514c32bbbf7497de /Source/Core/VideoCommon/VertexLoaderX64.cpp
parentcafffff75ea4fc42c401b87370e94efe17309cad (diff)
Remove VertexLoaderBase::IsInitialized
It is no longer relevant for the current set of loaders after 70305425462843af192489da00389559cd6f5834. If it becomes relevant again, a static function named IsUsable or IsCompatibleWithCurrentMachine or something would be a better approach.
Diffstat (limited to 'Source/Core/VideoCommon/VertexLoaderX64.cpp')
-rw-r--r--Source/Core/VideoCommon/VertexLoaderX64.cpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/VertexLoaderX64.cpp b/Source/Core/VideoCommon/VertexLoaderX64.cpp
index 9e1b056b97..e6d94693b8 100644
--- a/Source/Core/VideoCommon/VertexLoaderX64.cpp
+++ b/Source/Core/VideoCommon/VertexLoaderX64.cpp
@@ -45,9 +45,6 @@ static OpArg MPIC(const void* ptr)
VertexLoaderX64::VertexLoaderX64(const TVtxDesc& vtx_desc, const VAT& vtx_att)
: VertexLoaderBase(vtx_desc, vtx_att)
{
- if (!IsInitialized())
- return;
-
AllocCodeSpace(4096);
ClearCodeSpace();
GenerateVertexLoader();