shithub: cstory

ref: 13a941975d4fe48ec6ac54d54a5a35d05fa2116e
dir: /src/Backends/Rendering/Window/Software.h/

View raw version
// Released under the MIT licence.
// See LICENCE.txt for details.

#pragma once

#include <stddef.h>

int WindowBackend_Software_CreateWindow(const char *window_title, size_t screen_width, size_t screen_height, int fullscreen);
void WindowBackend_Software_DestroyWindow(void);
unsigned char* WindowBackend_Software_GetFramebuffer(size_t *pitch);
void WindowBackend_Software_Display(void);
void WindowBackend_Software_HandleWindowResize(size_t width, size_t height);