There is no need to report this as it has been corrected already:
http://git.gnome.org/browse/vala/commit/vapi/sdl.vapi?id=1a311070fb505860e8f60b99df08a9d4aa37910b
Quoting Luca Bruno <[email protected]>:
On Sun, Oct 16, 2011 at 1:26 PM, Simon Werbeck <[email protected]
wrote:
Hi,
I tried compiling the SDL Sample from http://live.gnome.org/Vala/**
SDLSample <http://live.gnome.org/Vala/SDLSample>
Compiling actually works without errors but when running, the application
is not responding to events.
I've already isolated the error, it seems that the code for the
Event.poll() function is not correct:
private void process_events () {
Event event = Event ();
while (Event.poll (event) == 1) {
...
will translate to something like:
while (TRUE) {
SDL_Event _tmp0_;
_tmp0_ = event;
_tmp1_ = SDL_PollEvent (_tmp0);
However, using a pointer for "event" instead works just fine.
Hi, you can report bugs to bugzilla.gnome.org .
--
www.debian.org - The Universal Operating System
_______________________________________________
vala-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/vala-list