31 lines
541 B
C
31 lines
541 B
C
/**
|
|
* Copyright (c) 2025 Dominic Masters
|
|
*
|
|
* This software is released under the MIT License.
|
|
* https://opensource.org/licenses/MIT
|
|
*/
|
|
|
|
#pragma once
|
|
#include "error/error.h"
|
|
|
|
#ifndef RENDER_WIDTH
|
|
#define RENDER_WIDTH 320
|
|
#endif
|
|
#ifndef RENDER_HEIGHT
|
|
#define RENDER_HEIGHT 240
|
|
#endif
|
|
|
|
/**
|
|
* Initializes the rendering system.
|
|
*/
|
|
errorret_t renderInit(void);
|
|
|
|
/**
|
|
* Tells the rendering system to actually draw the frame.
|
|
*/
|
|
errorret_t renderDraw(void);
|
|
|
|
/**
|
|
* Disposes of the rendering system.
|
|
*/
|
|
errorret_t renderDispose(void); |