forum-msg-id-134077-edit

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.

https://openeuphoria.org/forum/122140.wc#122140

Euraylib.ew

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

Raylib.h

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

Search



Quick Links

User menu

Not signed in.

Misc Menu