mirror of
https://github.com/zoriya/ComSquare.git
synced 2026-06-12 14:04:27 +00:00
Adding a no renderer
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
//
|
||||
// Created by anonymus-raccoon on 2/5/20.
|
||||
//
|
||||
|
||||
#include "NoRenderer.hpp"
|
||||
|
||||
namespace ComSquare::Renderer
|
||||
{
|
||||
void NoRenderer::setWindowName(std::string newWindowName)
|
||||
{
|
||||
(void)newWindowName;
|
||||
}
|
||||
|
||||
void NoRenderer::drawScreen() { }
|
||||
|
||||
void NoRenderer::putPixel(unsigned y, unsigned x, uint32_t rgba)
|
||||
{
|
||||
(void)x;
|
||||
(void)y;
|
||||
(void)rgba;
|
||||
}
|
||||
|
||||
void NoRenderer::getEvents() { }
|
||||
|
||||
NoRenderer::NoRenderer(unsigned int height, unsigned int width, int maxFPS)
|
||||
{
|
||||
(void)height;
|
||||
(void)width;
|
||||
(void)maxFPS;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user