Expose GXTest::text_buffer in the header

This is to allow using it as a texture externally.
This commit is contained in:
Pokechu22
2022-04-15 13:00:11 -07:00
parent 4a809ccf00
commit 6bfede0b92
2 changed files with 3 additions and 1 deletions

View File

@@ -17,7 +17,7 @@
namespace GXTest
{
#define TEST_BUFFER_SIZE (640 * 528 * 4)
static u32* test_buffer;
u32* test_buffer;
#ifdef ENABLE_DEBUG_DISPLAY
static u32 fb = 0;

View File

@@ -8,6 +8,8 @@
namespace GXTest
{
extern u32* test_buffer;
// Four component vector with arbitrary base type
template <typename T>
union Vec4