Skip to content

Commit

Permalink
Added logging to Screen fullscreen init
Browse files Browse the repository at this point in the history
  • Loading branch information
IceDragon200 committed Jul 14, 2016
1 parent 8ccfcdb commit efbc7b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions modules/graphics/mrblib/screen.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,12 @@ def create_window(w, h)
Moon::Shader.is_legacy = false

if fullscreen?
@logger.debug "Fullscreen Window requested"
monitor = GLFW.primary_monitor
vid_mode = monitor.vid_mode
w = vid_mode.width
h = vid_mode.height
@logger.debug "New Window Size: w=#{w} h=#{h}"
end

title = 'Moon Player'
Expand Down

0 comments on commit efbc7b5

Please sign in to comment.