wut/include/gx2/state.h
James Benton ee9bd49c34 whb: Handle GPU hangs by resetting the GPU on shutdown.
So your application will exit cleanly even when you break the GPU.
2017-06-02 11:50:12 +01:00

32 lines
301 B
C

#pragma once
#include <wut.h>
#include "enum.h"
/**
* \defgroup gx2_state State
* \ingroup gx2
* @{
*/
#ifdef __cplusplus
extern "C" {
#endif
void
GX2Init(uint32_t *attributes);
void
GX2Shutdown();
void
GX2Flush();
void
GX2ResetGPU(uint32_t unknown);
#ifdef __cplusplus
}
#endif
/** @} */