[Commits] [wesnoth/wesnoth] 36456d: Fixes bug #24138 and disables SDL_PumpEvent() in g...

GitHub noreply at github.com
Sat Dec 5 08:16:15 UTC 2015


  Branch: refs/heads/sdl2
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 36456df46f6e4e1507ef3f99ad953c1d26fe3eb9
      https://github.com/wesnoth/wesnoth/commit/36456df46f6e4e1507ef3f99ad953c1d26fe3eb9
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M src/events.cpp
    M src/gui/widgets/grid.cpp
    M src/loadscreen.cpp
    M src/video.cpp
    M src/video.hpp

  Log Message:
  -----------
  Fixes bug #24138 and disables SDL_PumpEvent() in grid.cpp

This removes the usage of the display::get_singleton() in the event
handling code since it may cause incorrect behaviour (crash) when the
singleton has been incorrectly set to null.

This also removes SDL_PumpEvents() from grid.cpp the rendering code
should not be directly interacting with the event handling and it's
causing instabilities.


  Commit: 5c187a518566b09d70fd6bfa40eb2cac9554fa48
      https://github.com/wesnoth/wesnoth/commit/5c187a518566b09d70fd6bfa40eb2cac9554fa48
  Author: Andreas Löf <andreas at alternating.net>
  Date:   2015-12-05 (Sat, 05 Dec 2015)

  Changed paths:
    M SConstruct
    M projectfiles/VC9/WindowsTimeout.vcproj
    M projectfiles/VC9/liblua.vcproj
    M projectfiles/VC9/schema_generator.vcproj
    M projectfiles/VC9/wesnoth.vcproj
    M projectfiles/VC9/wesnothd.vcproj
    M projectfiles/VC9/wesnothlib.vcproj

  Log Message:
  -----------
  Merge branch 'sdl2' of github.com:wesnoth/wesnoth into sdl2


Compare: https://github.com/wesnoth/wesnoth/compare/ed780b0058bd...5c187a518566


More information about the Commits mailing list