[wesnoth-commits] [wesnoth/wesnoth] 64170e: Remove some unreachable code

GitHub noreply at github.com
Tue Mar 27 18:34:01 UTC 2018


  Branch: refs/heads/opengl
  Home:   https://github.com/wesnoth/wesnoth
  Commit: 64170ea66e1e60ac96593d36edcea10de459c9cb
      https://github.com/wesnoth/wesnoth/commit/64170ea66e1e60ac96593d36edcea10de459c9cb
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-03-27 (Tue, 27 Mar 2018)

  Changed paths:
    M src/display_chat_manager.cpp
    M src/help/help_impl.cpp

  Log Message:
  -----------
  Remove some unreachable code


  Commit: 5f6dda55dbd3b556af3db53699a76f14321aadd5
      https://github.com/wesnoth/wesnoth/commit/5f6dda55dbd3b556af3db53699a76f14321aadd5
  Author: Jyrki Vesterinen <sandgtx at gmail.com>
  Date:   2018-03-27 (Tue, 27 Mar 2018)

  Changed paths:
    M projectfiles/VC14/wesnoth.vcxproj
    M src/editor/editor_display.cpp
    M src/events.cpp
    M src/game_display.cpp
    M src/ogl/context.cpp
    M src/ogl/context.hpp
    M src/ogl/utils.cpp
    M src/ogl/utils.hpp
    M src/playsingle_controller.cpp
    M src/sdl/window.cpp
    M src/sdl/window.hpp
    M src/video.cpp
    M src/video.hpp

  Log Message:
  -----------
  Integrate GLEW to the Visual Studio project

I also removed USE_GL_RENDERING (OpenGL rendering is now used
unconditionally), moved initialization of gl::context out of the
constructor, and added some light logging about OpenGL (so that, in the
future with hardware-specific issues, we have a way to know which hardware
is affected).

This commit breaks build with anything except Visual Studio due to
requiring OpenGL and GLEW but not linking to them.


Compare: https://github.com/wesnoth/wesnoth/compare/64170ea66e1e^...5f6dda55dbd3


More information about the Commits mailing list