Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - daemon

Pages: 1 [2]
16
General discussions / Re: Go binding for SFML
« on: November 30, 2012, 05:33:54 pm »
No, Sprite keeps an internal reference its texture to make sure that it doesn't get removed. Without LockOsThread your application won't run properly as OpenGL doesn't support calls comming from a thread other than the one it was created in (afaik). So maybe you could try if that solves your problem  :-\.

17
General discussions / Re: Go binding for SFML
« on: November 30, 2012, 10:47:58 am »
Yes I guess you could consider this as a bug as passing nil would simply lead to a crash. In general: If you can pass a pointer then using nil is perfectly valid. Thank you for pointing this out though. Also keep in mind that there are other standing problems like the need of runtime.LockOsThread() and GC.

18
General discussions / Re: Go binding for SFML
« on: November 28, 2012, 06:07:07 pm »
I'm trying to keep up with SFML git. That's why you need the latest version of SFML and CSFML. I hope you'll enjoy it. Feedback is welcome.  :)

19
General discussions / Re: Go binding for SFML
« on: July 22, 2012, 05:13:03 pm »
I was actually referring to this file (line 44). I know that I can work around it but I'm not sure if I really have to. Anyway, the bindings should be almost complete by now.

20
General discussions / Re: Go binding for SFML
« on: July 20, 2012, 02:38:18 pm »
Yes it's all handwritten (with a lot of copy-pasting involved). Do you actually cast Go-structs to C, like in toCPtr()? I don't think it's safe because the compiler could decide to add padding.  :-\ Any ideas?

21
General discussions / Re: Go binding for SFML
« on: July 18, 2012, 08:36:52 pm »
I wrote Go bindings some time ago in order to get familiar with Go. Maybe you'd like to check out my repository.
Binding: https://bitbucket.org/krepa098/gosfml2
Samples: https://bitbucket.org/krepa098/gosfml2-samples
I'm not sure whether I did it right as I'm quite new to the Go language, but at least it seems to work.  :)

Pages: 1 [2]
anything