ref: 31cd840297b58142ba8a87ac7954c0eef5457bef
parent: bc7b078df50f25eb4acad2721aff16c2b74ad37e
author: Clownacy <Clownacy@users.noreply.github.com>
date: Tue Apr 21 14:32:22 EDT 2020
Fix Wii U software renderer
--- a/src/Backends/WiiU/Window-Software-Polygon.cpp
+++ b/src/Backends/WiiU/Window-Software-Polygon.cpp
@@ -19,7 +19,7 @@
#include "../../Attributes.h"
-#include "newshader.gsh.h"
+#include "shaders/texture.gsh.h"
static unsigned char *fake_framebuffer;
@@ -49,7 +49,7 @@
{
WHBGfxInit();
- if (WHBGfxLoadGFDShaderGroup(&shader_group, 0, rnewshader))
+ if (WHBGfxLoadGFDShaderGroup(&shader_group, 0, rtexture))
{
WHBGfxInitShaderAttribute(&shader_group, "input_vertex_coordinates", 0, 0, GX2_ATTRIB_FORMAT_FLOAT_32_32);
WHBGfxInitShaderAttribute(&shader_group, "input_texture_coordinates", 1, 0, GX2_ATTRIB_FORMAT_FLOAT_32_32);