mirror of
https://github.com/w23/xash3d-fwgs
synced 2024-12-14 04:59:58 +01:00
0853f1c182
Make brush models use it. Black screen, kekw. But not explicit error messages. Need to investigate.
18 lines
468 B
C
18 lines
468 B
C
#pragma once
|
|
|
|
#include "alolcator.h"
|
|
|
|
typedef struct {
|
|
alo_ring_t ring;
|
|
uint32_t frame_offsets[2];
|
|
} r_flipping_buffer_t;
|
|
|
|
void R_FlippingBuffer_Init(r_flipping_buffer_t *flibuf, uint32_t size);
|
|
uint32_t R_FlippingBuffer_Alloc(r_flipping_buffer_t* flibuf, uint32_t size, uint32_t align);
|
|
|
|
// (╯°□°)╯︵ ┻━┻
|
|
void R_FlippingBuffer_Flip(r_flipping_buffer_t* flibuf);
|
|
|
|
// ┬─┬ノ( º _ ºノ)
|
|
void R_FlippingBuffer_Clear(r_flipping_buffer_t *flibuf);
|