diff options
author | Jesse Talavera-Greenberg <jesse@jesse.tg> | 2023-11-25 12:32:09 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-11-25 18:32:09 +0100 |
commit | 346dd4006ea1283136095d5c43f602324a095092 (patch) | |
tree | edf04631782bbfcdb48eac79b79aebb11b40f479 /src/GPU3D_Soft.h | |
parent | 651b0f680c4531558990a5beb0e638968009dc51 (diff) |
Move all core types into namespaces (#1886)
* Reorganize namespaces
- Most types are now moved into the `melonDS` namespace
- Only good chance to do this for a while, since a big refactor is next
* Fix the build
Diffstat (limited to 'src/GPU3D_Soft.h')
-rw-r--r-- | src/GPU3D_Soft.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/GPU3D_Soft.h b/src/GPU3D_Soft.h index b1cfb2f..9fb9a71 100644 --- a/src/GPU3D_Soft.h +++ b/src/GPU3D_Soft.h @@ -24,16 +24,16 @@ #include <thread> #include <atomic> -namespace GPU3D +namespace melonDS { class SoftRenderer : public Renderer3D { public: - SoftRenderer(Melon::GPU& gpu) noexcept; + SoftRenderer(melonDS::GPU& gpu) noexcept; virtual ~SoftRenderer() override; virtual void Reset() override; - virtual void SetRenderSettings(const Melon::RenderSettings& settings) noexcept override; + virtual void SetRenderSettings(const RenderSettings& settings) noexcept override; virtual void VCount144() override; virtual void RenderFrame() override; @@ -451,7 +451,7 @@ private: }; - Melon::GPU& GPU; + melonDS::GPU& GPU; RendererPolygon PolygonList[2048]; void TextureLookup(u32 texparam, u32 texpal, s16 s, s16 t, u16* color, u8* alpha); u32 RenderPixel(Polygon* polygon, u8 vr, u8 vg, u8 vb, s16 s, s16 t); |