mirror of
https://github.com/ctruLua/ctruLua.git
synced 2025-10-28 00:39:30 +00:00
Improved map:draw a lot, fixed GC issues with ctr.map, changed some things internally
map:draw should be faster and more flexible.
This commit is contained in:
parent
358b68c643
commit
4d1e3ec455
3 changed files with 88 additions and 25 deletions
12
source/gfx.h
Normal file
12
source/gfx.h
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#ifndef GFX_H
|
||||
#define GFX_H
|
||||
|
||||
typedef struct {
|
||||
GPU_SCISSORMODE mode;
|
||||
u32 x; u32 y;
|
||||
u32 width; u32 height;
|
||||
} scissor_state;
|
||||
|
||||
extern scissor_state lua_scissor;
|
||||
|
||||
#endif
|
||||
Loading…
Add table
Add a link
Reference in a new issue