From fcc7abb7c63d5d20ac54c99c86f81521660f5c10 Mon Sep 17 00:00:00 2001 From: shagkur Date: Tue, 24 Aug 2010 14:08:56 +0000 Subject: [PATCH] - added GX_InitTexObjUserData - added field for user data in internal texobj structure git-svn-id: https://devkitpro.svn.sourceforge.net/svnroot/devkitpro/trunk/libogc@4271 258c5a1a-4f63-435d-9564-e8f6d34ab52c --- gc/ogc/gx.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gc/ogc/gx.h b/gc/ogc/gx.h index 65c1e46..4a662a6 100644 --- a/gc/ogc/gx.h +++ b/gc/ogc/gx.h @@ -3913,7 +3913,8 @@ u32 GX_GetTexObjFmt(GXTexObj *obj); */ u32 GX_GetTexObjMipMap(GXTexObj *obj); -u8 GX_GetTexFmt(GXTexObj *obj); + +void* GX_GetTexObjUserData(GXTexObj *obj); /*! * \fn u32 GX_GetTexBufferSize(u16 wd,u16 ht,u32 fmt,u8 mipmap,u8 maxlod) @@ -4120,7 +4121,7 @@ void GX_InitTexObjLODBias(GXTexObj *obj,f32 lodbias); void GX_InitTexObjBiasClamp(GXTexObj *obj,u8 biasclamp); void GX_InitTexObjEdgeLOD(GXTexObj *obj,u8 edgelod); void GX_InitTexObjMaxAniso(GXTexObj *obj,u8 maxaniso); - +void GX_InitTexObjUserData(GXTexObj *obj,void *userdata); /*! * \fn void GX_LoadTexObj(GXTexObj *obj,u8 mapid) * \brief Loads the state describing a texture into one of eight hardware register sets. -- 2.11.4.GIT