[wesnoth-commits] [wesnoth/wesnoth] 12e7e3: Removed set_pixel_format

Charles Dang noreply at github.com
Tue Jul 23 00:29:20 UTC 2019


  Branch: refs/heads/1.14
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 12e7e3e5d5583ff01ce26002d8d73e5e5c9975cb
      https://github.com/wesnoth/wesnoth/commit/12e7e3e5d5583ff01ce26002d8d73e5e5c9975cb
  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).





More information about the Commits mailing list