[wesnoth-commits] [wesnoth/wesnoth] 0e173a: Removed set_pixel_format

Charles Dang noreply at github.com
Tue Jul 23 01:30:20 UTC 2019


  Branch: refs/heads/master
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 0e173a451df74be8085c01ad494dbd78cbb6dcee
      https://github.com/wesnoth/wesnoth/commit/0e173a451df74be8085c01ad494dbd78cbb6dcee
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2019-07-23 (Tue, 23 Jul 2019)

  Changed paths:
    M src/picture.cpp
    M src/picture.hpp
    M src/video.cpp

  Log Message:
  -----------
  Removed set_pixel_format

This is rather redundant. It's only called once when the CVideo subsystem is initialized and
nowhere else, and we already use the ARGB8888 format for all surfaces (which is what my testing
has revealed the SDL framebuffer surface's format is).


  Commit: ba025668a61c383201ab5d602bf4f8bbf466d770
      https://github.com/wesnoth/wesnoth/commit/ba025668a61c383201ab5d602bf4f8bbf466d770
  Author: Charles Dang <exodia339 at gmail.com>
  Date:   2019-07-23 (Tue, 23 Jul 2019)

  Changed paths:
    M src/sdl/userevent.hpp

  Log Message:
  -----------
  Deal with warnings about reinterpret_cast sizes on the 64 bit build


Compare: https://github.com/wesnoth/wesnoth/compare/a4893a89903b...ba025668a61c



More information about the Commits mailing list