Original date:2019-07-19 01:58:33 Edited by: Maccuq Subject: Re: Texture Not Showing

Hi, texture is not showing, because it is not loading. C function 'LoadTexture' is returning struct, not a pointer to a struct.


public constant xLoadImage = define_c_func(ray,"+LoadImage",{C_POINTER},C_POINTER), 


RLAPI Texture2D LoadTexture(const char *fileName); 
RLAPI ModelAnimation *LoadModelAnimations(const char *fileName, int *animsCount); <- this one works 

WARNING: [c_proc/c_func] Image fileformat not supported 
WARNING: [c_proc/c_func] Image could not be loaded 
WARNING: Texture could not be created 

Not Categorized, Please Help


Quick Links

User menu

Not signed in.

Misc Menu