Re: sokol-d: Static Struct

2024-02-02 Thread Matheus Catarino via Digitalmars-d-learn
On Saturday, 30 December 2023 at 19:27:08 UTC, Matheus Catarino wrote: Hi everyone. 👋 Currently I'm working on D binding for sokol project (truly a dual bindgen [sokol-tools, sokol-header]) which could be merged into the upstream project. Up to now, my "ideal" configuration has been to run

Re: sokol-d: Static Struct

2024-01-03 Thread Matheus Catarino via Digitalmars-d-learn
On Wednesday, 3 January 2024 at 18:57:44 UTC, ryuukk_ wrote: I managed to compile your project, ``sgl_context`` is working for me, it renders and roate [...] Wow! Cube and blend work, too? And on my machine it doesn't rotate, just like I initially posted. I had to remove this from y

Re: sokol-d: Static Struct

2024-01-03 Thread ryuukk_ via Digitalmars-d-learn
On Wednesday, 3 January 2024 at 17:50:19 UTC, Matheus Catarino wrote: On Saturday, 30 December 2023 at 20:20:50 UTC, ryuukk_ wrote: I suspect you have a typo in one of your definition I debugged some existing bindings, and despite any user-level errors (via code) there's some conflict between

Re: sokol-d: Static Struct

2024-01-03 Thread Matheus Catarino via Digitalmars-d-learn
On Saturday, 30 December 2023 at 20:20:50 UTC, ryuukk_ wrote: I suspect you have a typo in one of your definition I debugged some existing bindings, and despite any user-level errors (via code) there's some conflict between ABIs. In fact, it's mentioned by sokol's author below: I've been se

Re: sokol-d: Static Struct

2023-12-30 Thread Matheus Catarino via Digitalmars-d-learn
Use https://renderdoc.org/ and check and compare frames for both your working and non-working example Nice!! I'll try. That'll give you an idea at what could be wrong I suspect you have a typo in one of your definition I don't doubt it. I'm experiencing D in just a week. (Newbie)😅 On Sa

Re: sokol-d: Static Struct

2023-12-30 Thread Renato via Digitalmars-d-learn
On Saturday, 30 December 2023 at 19:27:08 UTC, Matheus Catarino wrote: Hi everyone. 👋 Currently I'm working on D binding for sokol project (truly a dual bindgen [sokol-tools, sokol-header]) which could be merged into the upstream project. Sorry if I sidetrack the discussion, but I was ama

Re: sokol-d: Static Struct

2023-12-30 Thread ryuukk_ via Digitalmars-d-learn
Use https://renderdoc.org/ and check and compare frames for both your working and non-working example That'll give you an idea at what could be wrong I suspect you have a typo in one of your definition I'll try to take a look later

sokol-d: Static Struct

2023-12-30 Thread Matheus Catarino via Digitalmars-d-learn
Hi everyone. 👋 Currently I'm working on D binding for sokol project (truly a dual bindgen [sokol-tools, sokol-header]) which could be merged into the upstream project. Up to now, my "ideal" configuration has been to run all the ported examples (from other supported bindings) on Drt or bett