GuvaCode / ray4laz

A complete header translation (binding) of the raylib 5.5 to Pascal. Without any funky helper functions for memory alignment issues. Inspired and partially based on the drezgames/raylib-pascal binding, however a little cleaner and more recent, with FPC 3.2.0 and up support.
https://www.raylib.com/
zlib License
108 stars 21 forks source link

Some examples don't work for me #27

Closed vertikalm closed 6 months ago

vertikalm commented 6 months ago

I'm testing Ray4Laz, on Linux (Debian12), with Lazarus 3.0 fixed. Most examples work correctly.

Should I compile with some special modifier? I have tested with different processors and graphics cards with the same results.

GuvaCode commented 6 months ago

Examples with controls need to be rewritten. I know this problem, but there is no time yet.

Try to run the compiled shader examples separately, not from the environment.

And please write the ones that don't work for you. And if possible, the log is not a working example

vertikalm commented 6 months ago

So, if it is a rewrite problem, it means that rgui can work with pascal-bindings. It's not that bad. Thank you very much for your effort.

vertikalm commented 6 months ago

Try to run the compiled shader examples separately, not from the environment.

Indeed, the shader examples run correctly from the command line. The rgui controls do not, at least on Linux.

GuvaCode commented 6 months ago

I rewrote the control test suite example

vertikalm commented 6 months ago

Works like a charm :)