From 6bfede0b92bc7f986154da1a01301330e9ecf31e Mon Sep 17 00:00:00 2001 From: Pokechu22 Date: Fri, 15 Apr 2022 13:00:11 -0700 Subject: [PATCH] Expose GXTest::text_buffer in the header This is to allow using it as a texture externally. --- gxtest/util.cpp | 2 +- gxtest/util.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gxtest/util.cpp b/gxtest/util.cpp index 1a31103..fc34776 100644 --- a/gxtest/util.cpp +++ b/gxtest/util.cpp @@ -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; diff --git a/gxtest/util.h b/gxtest/util.h index e19ea63..e1def60 100644 --- a/gxtest/util.h +++ b/gxtest/util.h @@ -8,6 +8,8 @@ namespace GXTest { +extern u32* test_buffer; + // Four component vector with arbitrary base type template union Vec4