Re: Texture Not Showing
- Posted by Maccuq Jul 19, 2019
- 1504 views
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);
Euphoria output
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