Closed zikaora closed 1 year ago
try the latest commit please say if this persists
sorry for the delay, the issue still persists unfortunately :(
will look into it more then
I've been able to get around this by using RlImage
directly
/** Image, pixel data stored in CPU memory (Ram) **/ typedef Image = cpp.Struct<RlImage>;
https://github.com/foreignsasquatch/raylib-hx/blob/main/source/Rl.cpp.hx#L249
Is there a reason why we're using the cpp.Struct<>
cast here? perhaps i'm missing something @foreignsasquatch
Im using cpp.Struct so it doesnt create a dynamic array when creating for example Array
I think this can be closed? because this is very use case specific
I'd argue that it's a pretty common use case. Plus it practically renders all Rl.Image
objects incompatible with any of raylib's image functions. But as I have no solutions in mind, I guess closing is fine
will fix again
Haxe Code:
C++ Output:
Build Output;