summaryrefslogtreecommitdiff
path: root/src/renderer/null.cpp
blob: fc68feaf2c8d0c6b1ce595d6547d2b4ac6f4a3f4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
#include "../stdafx.h"
#include "../gfx.h"
#include "null.hpp"

static FRenderer_Null iFRenderer_Null;

void *Renderer_Null::MoveTo(const void *video, int x, int y)
{
	return NULL;
}

void Renderer_Null::SetPixel(void *video, int x, int y, uint8 color)
{
}

void Renderer_Null::SetPixelIfEmpty(void *video, int x, int y, uint8 color)
{
}

void Renderer_Null::SetHorizontalLine(void *video, int width, uint8 color)
{
}

void Renderer_Null::CopyFromBuffer(void *video, const void *src, int width, int height, int src_pitch)
{
}

void Renderer_Null::CopyToBuffer(const void *video, void *dst, int width, int height, int dst_pitch)
{
}

void Renderer_Null::MoveBuffer(void *video_dst, const void *video_src, int width, int height)
{
}

int Renderer_Null::BufferSize(int width, int height)
{
	return 0;
}