aboutsummaryrefslogtreecommitdiff
path: root/libpsn00b/psxgpu/setdefdrawenv.c
diff options
context:
space:
mode:
authorJohn "Lameguy" Wilbert Villamor <lameguy64@gmail.com>2022-09-26 16:49:56 +0800
committerGitHub <noreply@github.com>2022-09-26 16:49:56 +0800
commitc4a2533d21dfd05cde841ea48c67b05e0e6a853f (patch)
treec7ef61653b157b69fb0956709366996ddbc4ecfa /libpsn00b/psxgpu/setdefdrawenv.c
parenta8b404b3400c3ebd8e0b923dcaefcc49ea563e36 (diff)
parent86f0064afb8200e60dd80827535cac30d0eab028 (diff)
downloadpsn00bsdk-c4a2533d21dfd05cde841ea48c67b05e0e6a853f.tar.gz
Merge pull request #55 from spicyjpeg/psxmdec
Full MDEC support, C library refactors, cleanups and bugfixes (v0.20)
Diffstat (limited to 'libpsn00b/psxgpu/setdefdrawenv.c')
-rw-r--r--libpsn00b/psxgpu/setdefdrawenv.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/libpsn00b/psxgpu/setdefdrawenv.c b/libpsn00b/psxgpu/setdefdrawenv.c
deleted file mode 100644
index 6fd6086..0000000
--- a/libpsn00b/psxgpu/setdefdrawenv.c
+++ /dev/null
@@ -1,27 +0,0 @@
-#include <sys/types.h>
-#include <psxgpu.h>
-
-DRAWENV *SetDefDrawEnv(DRAWENV *draw, int x, int y, int w, int h) {
-
- draw->clip.x = x;
- draw->clip.y = y;
- draw->clip.w = w;
- draw->clip.h = h;
-
- draw->ofs[0] = 0;
- draw->ofs[1] = 0;
-
- draw->tw.x = 0;
- draw->tw.y = 0;
- draw->tw.w = 0;
- draw->tw.h = 0;
-
- draw->tpage = 0x0a;
- draw->dtd = 1;
- draw->dfe = 0;
- draw->isbg = 0;
- setRGB0( draw, 0, 0, 0 );
-
- return draw;
-
-}