mirror of https://github.com/encounter/aurora.git
Add GXDestroyTlutObj
This commit is contained in:
parent
9fe0cff6e3
commit
ac5d4a7ca3
|
@ -22,6 +22,7 @@ typedef enum {
|
||||||
} GXPCTexFmt;
|
} GXPCTexFmt;
|
||||||
|
|
||||||
void GXDestroyTexObj(GXTexObj* obj);
|
void GXDestroyTexObj(GXTexObj* obj);
|
||||||
|
void GXDestroyTlutObj(GXTlutObj* obj);
|
||||||
|
|
||||||
void GXColor4f32(float r, float g, float b, float a);
|
void GXColor4f32(float r, float g, float b, float a);
|
||||||
|
|
||||||
|
|
|
@ -4,3 +4,8 @@ void GXDestroyTexObj(GXTexObj* obj_) {
|
||||||
auto* obj = reinterpret_cast<GXTexObj_*>(obj_);
|
auto* obj = reinterpret_cast<GXTexObj_*>(obj_);
|
||||||
obj->ref.reset();
|
obj->ref.reset();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void GXDestroyTlutObj(GXTlutObj* obj_) {
|
||||||
|
auto* obj = reinterpret_cast<GXTlutObj_*>(obj_);
|
||||||
|
obj->ref.reset();
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue