archivemuh
This commit is contained in:
31
src/display/render.h
Normal file
31
src/display/render.h
Normal file
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* 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);
|
Reference in New Issue
Block a user