Skip to content

Commit

Permalink
Add override-specifier to renderer implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Wunkolo committed Jul 11, 2023
1 parent 666fd96 commit 2f45714
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions include/renderer_gl/renderer_gl.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ class RendererGL final : public Renderer {
public:
RendererGL(GPU& gpu, const std::array<u32, regNum>& internalRegs) : Renderer(gpu, internalRegs) {}

void reset();
void display(); // Display the 3DS screen contents to the window
void initGraphicsContext(); // Initialize graphics context
void clearBuffer(u32 startAddress, u32 endAddress, u32 value, u32 control); // Clear a GPU buffer in VRAM
void displayTransfer(u32 inputAddr, u32 outputAddr, u32 inputSize, u32 outputSize, u32 flags); // Perform display transfer
void drawVertices(PICA::PrimType primType, std::span<const PICA::Vertex> vertices); // Draw the given vertices
void reset() override;
void display() override; // Display the 3DS screen contents to the window
void initGraphicsContext() override; // Initialize graphics context
void clearBuffer(u32 startAddress, u32 endAddress, u32 value, u32 control) override; // Clear a GPU buffer in VRAM
void displayTransfer(u32 inputAddr, u32 outputAddr, u32 inputSize, u32 outputSize, u32 flags) override; // Perform display transfer
void drawVertices(PICA::PrimType primType, std::span<const PICA::Vertex> vertices) override; // Draw the given vertices

// Take a screenshot of the screen and store it in a file
void screenshot(const std::string& name);
void screenshot(const std::string& name) override;
};

0 comments on commit 2f45714

Please sign in to comment.