From 5c9cc47e1c7f7101366b30b9b164e837abfe65e3 Mon Sep 17 00:00:00 2001 From: James Benton Date: Wed, 10 May 2017 17:24:01 +0100 Subject: [PATCH] gx2: Add GX2TempGetGPUVersion. --- include/gx2/temp.h | 21 +++++++++++++++++++++ src/rpl/gx2/exports.h | 3 +++ 2 files changed, 24 insertions(+) create mode 100644 include/gx2/temp.h diff --git a/include/gx2/temp.h b/include/gx2/temp.h new file mode 100644 index 0000000..41ef946 --- /dev/null +++ b/include/gx2/temp.h @@ -0,0 +1,21 @@ +#pragma once +#include + +/** + * \defgroup gx2_temp Temp + * \ingroup gx2 + * @{ + */ + +#ifdef __cplusplus +extern "C" { +#endif + +uint32_t +GX2TempGetGPUVersion(); + +#ifdef __cplusplus +} +#endif + +/** @} */ diff --git a/src/rpl/gx2/exports.h b/src/rpl/gx2/exports.h index da0a331..9e6193a 100644 --- a/src/rpl/gx2/exports.h +++ b/src/rpl/gx2/exports.h @@ -194,6 +194,9 @@ EXPORT(GX2SetTessellation); EXPORT(GX2SetMinTessellationLevel); EXPORT(GX2SetMaxTessellationLevel); +// gx2/temp.h +EXPORT(GX2TempGetGPUVersion); + // gx2/texture.h EXPORT(GX2InitTextureRegs); EXPORT(GX2SetPixelTexture);