From 6b7416f6556af9307829b3928462a359df0265cb Mon Sep 17 00:00:00 2001 From: Crayon2000 Date: Sun, 5 Feb 2017 04:33:43 -0500 Subject: [PATCH] Correct compiling error with Particle example --- examples/particle/Makefile | 2 +- examples/particle/source/main.cpp | 5 ----- 2 files changed, 1 insertion(+), 6 deletions(-) diff --git a/examples/particle/Makefile b/examples/particle/Makefile index 5ef66a9..02da1da 100644 --- a/examples/particle/Makefile +++ b/examples/particle/Makefile @@ -18,7 +18,7 @@ include $(DEVKITPPC)/wii_rules TARGET := $(notdir $(CURDIR)) BUILD := build SOURCES := source -DATA := source/gfx +DATA := source/GFX INCLUDES := #--------------------------------------------------------------------------------- diff --git a/examples/particle/source/main.cpp b/examples/particle/source/main.cpp index 459c9c1..fc90fb2 100644 --- a/examples/particle/source/main.cpp +++ b/examples/particle/source/main.cpp @@ -26,8 +26,6 @@ // Random Number (0 - 1) in float #define RANDOM ((((float)(rand() % 12))/12)-0.5) -Mtx GXmodelView2D; - // Basic structure to hold particle data typedef struct Particle { u8 id; @@ -55,9 +53,6 @@ static bool updateParticle( Particle *part ); static u8 CalculateFrameRate(); static u8 ClampVar8 (f32 Value); -// Initialize general variables -extern GXRModeObj *rmode; - // Prepare Graphics GRRLIB_texImg *GFX_Background; GRRLIB_texImg *GFX_Crosshair;